1 Replies - 5746 Views - Last Post: 28 December 2012 - 07:09 AM

XNA - how to move skinned model-and merge animations

Posted 27 December 2012 - 12:28 PM

I've wrote some code for my game and made 3D model with animation. Because XNA 4.0 doesn't support .fbx with multiple animations I've generated 3 model files with different animations:
1. Start animation ( when you press arrow for the first time)
2. walk animation ( when you still hold it)
3. end animation ( when button is up)

And here comes my question. How to apply those 3 models to work with arrows. Now I'm using to render animations skinned_model_sample

I have also second question />/> How to get model position from or how to move this model? Now it's connected with camera coordinates but I'd rather prefer the model to have it's own coordinates and transform it independently from camera.

Replies To: XNA - how to move skinned model-and merge animations

Re: XNA - how to move skinned model-and merge animations

Posted 28 December 2012 - 07:09 AM

Some part of my problem resolved. I've found out about XNA 4.0 Refres which supports multiple clips from one model. Still I don't know how can I get coordinates from my model and move it along the world or change animations smoothly in runtime.