Example #1
0
 public virtual void addTorque(PxVec3 torque, PxForceMode.Enum mode)
 {
     physxPINVOKE.PxRigidBody_addTorque__SWIG_1(swigCPtr, PxVec3.getCPtr(torque), (int)mode);
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public virtual void addForce(PxVec3 force, PxForceMode.Enum mode, bool autowake)
 {
     physxPINVOKE.PxRigidBody_addForce__SWIG_0(swigCPtr, PxVec3.getCPtr(force), (int)mode, autowake);
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public virtual void clearTorque(PxForceMode.Enum mode)
 {
     physxPINVOKE.PxRigidBody_clearTorque__SWIG_0(swigCPtr, (int)mode);
 }