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