dim3 Forum

Full Version: Animation Start Then Change Bug
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When you start then change an animation, the animation plays like one tick of the first animation before the second. So startThenChange('fallOver','dead'); results in the character falling over, suddenly coming back up, then falling over again. But this can be avoided if you use
Code:
obj.model.animation.start('foo');
obj.model.animation.change('foo2');
instead of
Code:
obj.model.animation.startThenChange('foo','foo2');
"startThenChange" is supposed to play the first animation in full then play the second. The difference is that change waits till the current animation gets to a "rest point" (i.e., the end of a loop) and then switches, which "interrupt" or "start" goes directly to the new animation.

[>] Brian
Reference URL's