public void appendLinearJoint(SWIGTYPE_p_btVector3 position, SWIGTYPE_p_btRigidBody rigidBody) { BulletSoftBodyPINVOKE.btSoftBody_appendLinearJoint__SWIG_5(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(position), SWIGTYPE_p_btRigidBody.getCPtr(rigidBody)); if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(SWIGTYPE_p_btRigidBody obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public void appendAnchor(int node, SWIGTYPE_p_btRigidBody body, SWIGTYPE_p_btVector3 localPivot, bool disableCollisionBetweenLinkedBodies) { BulletSoftBodyPINVOKE.btSoftBody_appendAnchor__SWIG_4(swigCPtr, node, SWIGTYPE_p_btRigidBody.getCPtr(body), SWIGTYPE_p_btVector3.getCPtr(localPivot), disableCollisionBetweenLinkedBodies); if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve(); }
public void appendAnchor(int node, SWIGTYPE_p_btRigidBody body, SWIGTYPE_p_btVector3 localPivot) { BulletSoftBodyPINVOKE.btSoftBody_appendAnchor__SWIG_5(swigCPtr, node, SWIGTYPE_p_btRigidBody.getCPtr(body), SWIGTYPE_p_btVector3.getCPtr(localPivot)); if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve(); }
public void appendAnchor(int node, SWIGTYPE_p_btRigidBody body) { BulletSoftBodyPINVOKE.btSoftBody_appendAnchor__SWIG_2(swigCPtr, node, SWIGTYPE_p_btRigidBody.getCPtr(body)); }
public void appendAnchor(int node, SWIGTYPE_p_btRigidBody body, bool disableCollisionBetweenLinkedBodies) { BulletSoftBodyPINVOKE.btSoftBody_appendAnchor__SWIG_1(swigCPtr, node, SWIGTYPE_p_btRigidBody.getCPtr(body), disableCollisionBetweenLinkedBodies); }
internal btRigidBody(IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = new HandleRef(this, cPtr); swigWrapPtr = new SWIGTYPE_p_btRigidBody(cPtr, true); }
public virtual void Dispose() { lock(this) { if (swigCPtr.Handle != IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; BulletDynamicsPINVOKE.delete_btRigidBody(swigCPtr); } swigCPtr = new HandleRef(null, IntPtr.Zero); swigWrapPtr = new SWIGTYPE_p_btRigidBody(IntPtr.Zero, true); } GC.SuppressFinalize(this); } }
internal static HandleRef getCPtr(SWIGTYPE_p_btRigidBody obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }