- Joined
- Apr 1, 2008
- Messages
- 2,064
- Reaction score
- 507
- Points
- 113
Have you ever run this in debugger?
I immediately get an exeption:
I don't have all the meshes, so I just created dummy ones for the missing ones ( ...Found'em in the previous ZIP
The 5th argument (
When I just omit it, like so:
The module runs.
If it behaves as you'd expect is another question
I would strongly recommend to develop in debug mode!
I immediately get an exeption:
at line 837 (MARSROVER2020.cpp)!Unhandled exception at 0x75F9A6E2 in orbiter.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x0096D384.
copterstoredNEW
and coptercase
), but that is not relevant for the exeption. Found'The 5th argument (
&COPTERPARENT
) to AddAnimationComponent
is causing the exception.When I just omit it, like so:
C++:
COPTERPARENT = AddAnimationComponent(anim_copterdeploy, .5, 1.0, copter_anim[2]); // , &COPTERPARENT);
If it behaves as you'd expect is another question
I would strongly recommend to develop in debug mode!
Last edited: