Sign in to follow this  
chillypacman

PhysX actor rotation?

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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 :)

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