PhysX actor rotation?

Started by
1 comment, last by chillypacman 16 years, 10 months ago
How can I get the rotation of a physx actor and apply it to directx? I tried using getGlobalOrientation() though it has absoloutely no effect when applied to the model.
Advertisement
Have a read through the render method in this Novodex example on CodeSampler.com.

Yes, it uses an old version of Novodex and you probably won't be able to compile the source, but the interfaces for convex rigid bodies haven't changed much (if at all), so it should show you the process required for getting an actor's transform and using that when rendering.

Regards,
ViLiO
Richard 'ViLiO' Thomasv.net | Twitter | YouTube
Quote:Original post by ViLiO
Have a read through the render method in this Novodex example on CodeSampler.com.

Yes, it uses an old version of Novodex and you probably won't be able to compile the source, but the interfaces for convex rigid bodies haven't changed much (if at all), so it should show you the process required for getting an actor's transform and using that when rendering.

Regards,
ViLiO


yep, that worked, thanks :)

This topic is closed to new replies.

Advertisement