views:

42

answers:

1

ok im not expecting to get answer fast. does directx 9 have function that will stop or pause animated mesh. i need an example how the function works or it is useless.
thanks in advancee

A: 

There is an example in the DirectX SDK on how to do it using the X-File format and D3DX classes. More info here:

http://msdn.microsoft.com/en-us/library/ee418800(VS.85).aspx

Goz
i know how to display a mesh but i can't get it to stop when i want it to. im i missing something?
Ramiz Toma
@Ramiz: Well what animation system are you using. What code have you got already? In my animation system I call "mpAnimation->Stop();" but thats probably not much help to you ;) Your question is rather lacking in information...
Goz
Btw assuming you are using ID3DXAnimationController you could just try NOT calling "AdvanceTime" ...
Goz
i don't like sdk examples about meshes most of the code is useless for me they create combo boxes...
Ramiz Toma
@Ramiz: Its your loss in the end. Your biggest issue is that not many people use D3DX meshes due to the D3D tie in ... Your options for examples are limited ...
Goz