Death animation crashing
by Bruno Grieco · in Torque Game Engine · 06/22/2004 (5:01 pm) · 2 replies
To put an end to my crows I created a death animation called "death1"
Whenever I call it thru %obj.setActionThread("death1"), torque crashes. I renamed it to "morte" and everything works fine.
I beleive that this is because death stuff is coded in the engine. Anyone else having problems with this ?
Whenever I call it thru %obj.setActionThread("death1"), torque crashes. I renamed it to "morte" and everything works fine.
I beleive that this is because death stuff is coded in the engine. Anyone else having problems with this ?
About the author
Torque Owner Fenrir Wolf
There's a code fix mentioned in there that will fix the problem. In short, Torque has some special voodoo magic associated with an animation named "deathX" and therefore barfs if an animation does not possess ground frames.
In fact, I am surprised nobody has applied a fix for HEAD on this. It's relatively simple to override the behavior so it won't happen. (Either script-wise by using animations named other than "deathX" or by fixing the function that tries to get the ground transform.)