- Home /
Play animation from arbitrary frame and extract information
I am taking live user feed using a Kinect and trying to synchronize a walk animation to the users hand movements.
eg. when the user brings his right hand fwd and left hand behind I need to start playing the walk animation file from say frame 50.
so I need to start my animation from a certain frame is there any way to do this in unity.
and if this is done is there anyway to extract skeleton properties from that frame - for example say orientation of the root node or position of the elbow etc.?
Answer by Bryan 4 · Apr 26, 2011 at 05:34 PM
AnimationState.Time can be used to set to a specific time in an animation.
ahh thanks. just checked out the Animation state class and you are correct. I'm yet to try it out though.
but is there anyway to get that keyframe data - for example the joint position/angles for that position?