Inheritance: IDisposable
Example #1
0
 public void appendLinearJoint(SWIGTYPE_p_btVector3 position, Cluster body)
 {
     BulletSoftBodyPINVOKE.btSoftBody_appendLinearJoint__SWIG_6(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(position), Cluster.getCPtr(body));
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
 }
Example #2
0
 public static void clusterVImpulse(Cluster cluster, SWIGTYPE_p_btVector3 rpos, SWIGTYPE_p_btVector3 impulse)
 {
     BulletSoftBodyPINVOKE.btSoftBody_clusterVImpulse(Cluster.getCPtr(cluster), SWIGTYPE_p_btVector3.getCPtr(rpos), SWIGTYPE_p_btVector3.getCPtr(impulse));
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
 }
Example #3
0
 public void appendLinearJoint(SWIGTYPE_p_LJoint__Specs specs, Cluster body0, Body body1)
 {
     BulletSoftBodyPINVOKE.btSoftBody_appendLinearJoint__SWIG_0(swigCPtr, SWIGTYPE_p_LJoint__Specs.getCPtr(specs), Cluster.getCPtr(body0), Body.getCPtr(body1));
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
 }
Example #4
0
 public static SWIGTYPE_p_btVector3 clusterVelocity(Cluster cluster, SWIGTYPE_p_btVector3 rpos)
 {
     SWIGTYPE_p_btVector3 ret = new SWIGTYPE_p_btVector3(BulletSoftBodyPINVOKE.btSoftBody_clusterVelocity(Cluster.getCPtr(cluster), SWIGTYPE_p_btVector3.getCPtr(rpos)), true);
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Example #5
0
 public static SWIGTYPE_p_btVector3 clusterCom(Cluster cluster)
 {
     SWIGTYPE_p_btVector3 ret = new SWIGTYPE_p_btVector3(BulletSoftBodyPINVOKE.btSoftBody_clusterCom__SWIG_0(Cluster.getCPtr(cluster)), true);
     return ret;
 }
Example #6
0
 public static void clusterAImpulse(Cluster cluster, Impulse impulse)
 {
     BulletSoftBodyPINVOKE.btSoftBody_clusterAImpulse(Cluster.getCPtr(cluster), Impulse.getCPtr(impulse));
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
 }
Example #7
0
 public Body(Cluster p)
     : this(BulletSoftBodyPINVOKE.new_Body__SWIG_1(Cluster.getCPtr(p)), true)
 {
 }
Example #8
0
 internal static HandleRef getCPtr(Cluster obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }