Jump to content
  • Advertisement
Sign in to follow this  
Martin Perry

PhysX 3.1 and Character Controller

This topic is 2266 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


I am using PhysX 3.1 and PxController. Problem is with interaction of those objects.

1) In my engine, every object has PxRigidActor body (static or dynamic). If I add new object to the scene, body is automaticly created. But for some objects I need to use PxContoller, which has its own PxRigidDynamic. So question is, what should i do with old one.
Should i remove it from scene ? If I keep it, physics is weird for this object.
2) I need to rotate object with PxController. There is no way within conrtoller, how to do it. So I take PxRigidDynamic pointer and rotate it with setGlobalPose. Hovewer, in PhysX SDK documentation, there is written that this pointer should be used only for const operations. So, how to deal with this problem "correctly" ?

Thanks Edited by Martin Perry

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!