#1
|
|||
|
|||
Reading bone movement from animations
Hello,
As the title suggest, is there an easy way to get at the bone movement of the animations of an avatar? Thanks, Christian |
#2
|
|||
|
|||
Do you just need to get the bone position/rotation info? If so, you can use the bone.getPosition() and bone.getQuat() functions to get the current values.
|
#3
|
|||
|
|||
We were hoping to get the positions at some arbitrary point in order to apply inverse kinematics (from some other software) to combine the animation and some other motion (say, the movement of an arm based on a tracker). Is such data easily availible?
Thanks, Christian |
#4
|
|||
|
|||
You can manually set the time of an animation and then get the position of the bone. Have a look at the avatar.setAnimationTime() command.
|
#5
|
|||
|
|||
I think that may work, thanks. Is there any way to tell what the length of an animation is?
Thanks, Christian |
#6
|
|||
|
|||
You can use the avatar.getDuration() command to get the length of an animation.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
animations | dan12345 | Vizard | 3 | 07-14-2008 11:43 AM |
vcc avatars: defining bone length | bjgold | Vizard | 1 | 08-08-2007 11:24 AM |
problem with female animations | vmonkey | Vizard | 1 | 10-07-2005 10:36 AM |
loading CAF animations | vadrian | Vizard | 1 | 06-02-2005 04:38 PM |
avatar bone movement | epl | Vizard | 3 | 05-03-2004 04:27 PM |