Sign in to follow this  
lucky6969b

dynamic runtime character animation

Recommended Posts

lucky6969b    1330
Hello, I have a certain strategy in mind for my own game development. However, don't know how to implement it using Direct3D. That is, if a skinned mesh has already got the skeleton, IK Links and animation data ready, is it possible to do custom runtime character animations when I require the mesh to reach a specific spot precisely. For example, there is a gun inside a box. And my mesh gets close to it, trying to open the box (using animation controller). The flap of the box has a certain Vector value, and the hand of my man also has one. I do interpolation between my man's arm and the flap of the box, since the positions are not fixed at runtime, is it possible for me to do any animation for the hand to get to the flap without explicitly using the animation data inside the .X file while also keeping the animation smooth with the IK? Thanks

Share this post


Link to post
Share on other sites
Jimfing    148
The way I understand it is that you have to use realtime Inverse Kinematics. Ie you know where the hand should be, and the Inverse Kinematics will calculated the rotation of the arm joints to achieve the desired movement. It's a common problem in robotics:

http://en.wikipedia.org/wiki/Inverse_kinematics

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this