public virtual void computeImpulseResponse(PxArticulationLink link, PxVec3 linearResponse, PxVec3 angularResponse, PxArticulationDriveCache driveCache, PxVec3 linearImpulse, PxVec3 angularImpulse) { physxPINVOKE.PxArticulation_computeImpulseResponse(swigCPtr, PxArticulationLink.getCPtr(link), PxVec3.getCPtr(linearResponse), PxVec3.getCPtr(angularResponse), PxArticulationDriveCache.getCPtr(driveCache), PxVec3.getCPtr(linearImpulse), PxVec3.getCPtr(angularImpulse)); if (physxPINVOKE.SWIGPendingException.Pending) { throw physxPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual PxArticulationLink createLink(PxArticulationLink parent, PxTransform pose) { global::System.IntPtr cPtr = physxPINVOKE.PxArticulation_createLink(swigCPtr, PxArticulationLink.getCPtr(parent), PxTransform.getCPtr(pose)); PxArticulationLink ret = (cPtr == global::System.IntPtr.Zero) ? null : new PxArticulationLink(cPtr, false); if (physxPINVOKE.SWIGPendingException.Pending) { throw physxPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PxArticulationLink obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }