Example #1
0
 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;
 }
Example #3
0
 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();
 }
Example #4
0
 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();
 }
Example #5
0
 public void appendAnchor(int node, SWIGTYPE_p_btRigidBody body)
 {
     BulletSoftBodyPINVOKE.btSoftBody_appendAnchor__SWIG_2(swigCPtr, node, SWIGTYPE_p_btRigidBody.getCPtr(body));
 }
Example #6
0
 public void appendAnchor(int node, SWIGTYPE_p_btRigidBody body, bool disableCollisionBetweenLinkedBodies)
 {
     BulletSoftBodyPINVOKE.btSoftBody_appendAnchor__SWIG_1(swigCPtr, node, SWIGTYPE_p_btRigidBody.getCPtr(body), disableCollisionBetweenLinkedBodies);
 }
Example #7
0
 internal btRigidBody(IntPtr cPtr, bool cMemoryOwn)
 {
     swigCMemOwn = cMemoryOwn;
     swigCPtr = new HandleRef(this, cPtr);
     swigWrapPtr = new SWIGTYPE_p_btRigidBody(cPtr, true);
 }
Example #8
0
 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);
     }
 }
Example #9
0
 internal static HandleRef getCPtr(SWIGTYPE_p_btRigidBody obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }