NVIDIAGameWorks / PhysX

NVIDIA PhysX SDK
Other
3.16k stars 802 forks source link

Can't add force on PxController #589

Closed gaetandezeiraud closed 2 years ago

gaetandezeiraud commented 2 years ago

I want to integrate a "jump" action for my PxController. But with getActor() (So I get a PxRigidDynamic). addForce doesn't work. Do nothing.

I see it is not recommended to edit data in the RigidDynamic of an actor.

So, it is normal it doesn't work? If yes, the only solution is to move the PxController with your own formula?

Thanks.