Jump to content

  • Log In with Google      Sign In   
  • Create Account


PhysX 3.1 and Character Controller


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 Martin Perry   Members   -  Reputation: 1023

Like
0Likes
Like

Posted 01 May 2012 - 09:48 AM

Hi,

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, 01 May 2012 - 09:49 AM.


Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS