Game Development Community

RESOVLED Live Updating Causes Crash with Ambient Anim

by Steve Acaster · in Torque 3D Professional · 02/18/2010 (12:23 pm) · 3 replies

When updating in-game/in-editor by replacing the model file with a newer version, if the model has an ambient animation (with ambient set to play on load) the Project crashes.

I wasn't sure if this had already been reported but couldn't see it

-----------------------
Slightly related topic:
Is ForestEd being considered for using ambient animation? (as not everything that can be placed - which is everything - is going to be a tree wanting a wind emitter... just a thought)

SEEMS FIXED IN 1.1B2

#1
02/18/2010 (4:41 pm)
Great catch... THREED-884

Quote:Is ForestEd being considered for using ambient animation?
We haven't. Animation can be very CPU intensive if you apply it to 100s of objects at once which is why we've hesitated to add support for it.

But its something i do want to experiment with in the future.
#2
02/21/2010 (9:29 pm)
@Steve: Here's the fix for the TSStatic crash issue: in tsStatic.cpp, add this to the top of the TSStatic::_createShape function:

mAmbientThread = NULL;
#3
02/21/2010 (10:06 pm)
Seems a little "tempermental" ... it doesn't always live update - sometimes it does, sometimes you have to exit the mission and reload it. But no crash.