public void AddTorque(Vector3 force, ForceMode forceMode) { int forceModeInt = (int)forceMode; if (forceMode == ForceMode.Acceleration) { forceModeInt = 3; } physXForce.FromVector(force); PhysXLib.AddTorque(physXBody, physXForce, forceModeInt); }