public virtual void applyImpulse(PxArticulationLink link, PxArticulationDriveCache driveCache, PxVec3 linearImpulse, PxVec3 angularImpulse) { physxPINVOKE.PxArticulation_applyImpulse(swigCPtr, PxArticulationLink.getCPtr(link), PxArticulationDriveCache.getCPtr(driveCache), PxVec3.getCPtr(linearImpulse), PxVec3.getCPtr(angularImpulse)); if (physxPINVOKE.SWIGPendingException.Pending) { throw physxPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void updateDriveCache(PxArticulationDriveCache driveCache, float compliance, SWIGTYPE_p_uint32_t driveIterations) { physxPINVOKE.PxArticulation_updateDriveCache(swigCPtr, PxArticulationDriveCache.getCPtr(driveCache), compliance, SWIGTYPE_p_uint32_t.getCPtr(driveIterations)); if (physxPINVOKE.SWIGPendingException.Pending) { throw physxPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void releaseDriveCache(PxArticulationDriveCache driveCache) { physxPINVOKE.PxArticulation_releaseDriveCache(swigCPtr, PxArticulationDriveCache.getCPtr(driveCache)); if (physxPINVOKE.SWIGPendingException.Pending) { throw physxPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual PxArticulationDriveCache createDriveCache(float compliance, SWIGTYPE_p_uint32_t driveIterations) { global::System.IntPtr cPtr = physxPINVOKE.PxArticulation_createDriveCache(swigCPtr, compliance, SWIGTYPE_p_uint32_t.getCPtr(driveIterations)); PxArticulationDriveCache ret = (cPtr == global::System.IntPtr.Zero) ? null : new PxArticulationDriveCache(cPtr, false); if (physxPINVOKE.SWIGPendingException.Pending) { throw physxPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PxArticulationDriveCache obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }