WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Playing animation backwards (https://forum.worldviz.com/showthread.php?t=2295)

krimble 10-01-2009 09:09 AM

Playing animation backwards
 
Hi all,

I have a spider that comes down from the ceiling. The spider has an animation that makes the legs move against a thread that is hanging from the ceiling.
Now I want to make the spider go up towards the ceiling. The move action works, but the legs still move as if the spider is going down. If I can play the animation backwards, the legs move as if the spider is going up.

I tried this code, but it doesn't play the builtin animation backwards:

spider[i].state(1)
spider[i].addAction(act2)
spider[i].setAnimationSpeed(1,-1)


All times are GMT -7. The time now is 10:18 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC