WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Animations and locked bones (https://forum.worldviz.com/showthread.php?t=2791)

Enlil 06-17-2010 10:19 AM

Animations and locked bones
 
Hello,

If you are playing an animation but have a locked bone (such as the head to follow an object), is there a way to tell what euler the animation would have applied to the bone had it not been locked?

Thanks,
Christian

Jeff 06-17-2010 03:45 PM

In a dictionary you could record the orientation of that bone at each point in time through it's cycle when it's unlocked. Then, once it's locked and you want to find out where it would be unlocked call .getAnimationTime to get the current time of the animation or animation cycle. With that time value you could look up the corresponding orientation value in the dictionary.


All times are GMT -7. The time now is 02:55 AM.

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