public btRigidBodyConstructionInfo(float mass, SWIGTYPE_p_btMotionState motionState, SWIGTYPE_p_btCollisionShape collisionShape) : this(BulletDynamicsPINVOKE.new_btRigidBodyConstructionInfo__SWIG_1(mass, SWIGTYPE_p_btMotionState.getCPtr(motionState), SWIGTYPE_p_btCollisionShape.getCPtr(collisionShape)), true) { }
public btTriIndex(int partId, int triangleIndex, SWIGTYPE_p_btCollisionShape shape) : this(BulletSoftBodyPINVOKE.new_btTriIndex(partId, triangleIndex, SWIGTYPE_p_btCollisionShape.getCPtr(shape)), true) { }
public virtual void removeChildShape(SWIGTYPE_p_btCollisionShape shape) { BulletCollisionPINVOKE.btCompoundShape_removeChildShape(swigCPtr, SWIGTYPE_p_btCollisionShape.getCPtr(shape)); }
public btRigidBodyConstructionInfo(float mass, SWIGTYPE_p_btMotionState motionState, SWIGTYPE_p_btCollisionShape collisionShape, SWIGTYPE_p_btVector3 localInertia) : this(BulletDynamicsPINVOKE.new_btRigidBodyConstructionInfo__SWIG_0(mass, SWIGTYPE_p_btMotionState.getCPtr(motionState), SWIGTYPE_p_btCollisionShape.getCPtr(collisionShape), SWIGTYPE_p_btVector3.getCPtr(localInertia)), true) { if (BulletDynamicsPINVOKE.SWIGPendingException.Pending) { throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve(); } }
public static uint Hash(int x, int y, int z, SWIGTYPE_p_btCollisionShape shape) { uint ret = BulletSoftBodyPINVOKE.btSparseSdf3_Hash(x, y, z, SWIGTYPE_p_btCollisionShape.getCPtr(shape)); return(ret); }
public void addChildShape(SWIGTYPE_p_btTransform localTransform, SWIGTYPE_p_btCollisionShape shape) { BulletCollisionPINVOKE.btCompoundShape_addChildShape(swigCPtr, SWIGTYPE_p_btTransform.getCPtr(localTransform), SWIGTYPE_p_btCollisionShape.getCPtr(shape)); if (BulletCollisionPINVOKE.SWIGPendingException.Pending) { throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve(); } }
public float Evaluate(SWIGTYPE_p_btVector3 x, SWIGTYPE_p_btCollisionShape shape, SWIGTYPE_p_btVector3 normal, float margin) { float ret = BulletSoftBodyPINVOKE.btSparseSdf3_Evaluate(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(x), SWIGTYPE_p_btCollisionShape.getCPtr(shape), SWIGTYPE_p_btVector3.getCPtr(normal), margin); if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) { throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static float DistanceToShape(SWIGTYPE_p_btVector3 x, SWIGTYPE_p_btCollisionShape shape) { float ret = BulletSoftBodyPINVOKE.btSparseSdf3_DistanceToShape(SWIGTYPE_p_btVector3.getCPtr(x), SWIGTYPE_p_btCollisionShape.getCPtr(shape)); if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) { throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public int RemoveReferences(SWIGTYPE_p_btCollisionShape pcs) { int ret = BulletSoftBodyPINVOKE.btSparseSdf3_RemoveReferences(swigCPtr, SWIGTYPE_p_btCollisionShape.getCPtr(pcs)); return(ret); }
public static void objectQuerySingle(SWIGTYPE_p_btConvexShape castShape, SWIGTYPE_p_btTransform rayFromTrans, SWIGTYPE_p_btTransform rayToTrans, btCollisionObject collisionObject, SWIGTYPE_p_btCollisionShape collisionShape, SWIGTYPE_p_btTransform colObjWorldTransform, SWIGTYPE_p_btCollisionWorld__ConvexResultCallback resultCallback, float allowedPenetration) { BulletCollisionPINVOKE.btCollisionWorld_objectQuerySingle(SWIGTYPE_p_btConvexShape.getCPtr(castShape), SWIGTYPE_p_btTransform.getCPtr(rayFromTrans), SWIGTYPE_p_btTransform.getCPtr(rayToTrans), btCollisionObject.getCPtr(collisionObject), SWIGTYPE_p_btCollisionShape.getCPtr(collisionShape), SWIGTYPE_p_btTransform.getCPtr(colObjWorldTransform), SWIGTYPE_p_btCollisionWorld__ConvexResultCallback.getCPtr(resultCallback), allowedPenetration); if (BulletCollisionPINVOKE.SWIGPendingException.Pending) { throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve(); } }
public static void rayTestSingle(SWIGTYPE_p_btTransform rayFromTrans, SWIGTYPE_p_btTransform rayToTrans, btCollisionObject collisionObject, SWIGTYPE_p_btCollisionShape collisionShape, SWIGTYPE_p_btTransform colObjWorldTransform, SWIGTYPE_p_btCollisionWorld__RayResultCallback resultCallback) { BulletCollisionPINVOKE.btCollisionWorld_rayTestSingle(SWIGTYPE_p_btTransform.getCPtr(rayFromTrans), SWIGTYPE_p_btTransform.getCPtr(rayToTrans), btCollisionObject.getCPtr(collisionObject), SWIGTYPE_p_btCollisionShape.getCPtr(collisionShape), SWIGTYPE_p_btTransform.getCPtr(colObjWorldTransform), SWIGTYPE_p_btCollisionWorld__RayResultCallback.getCPtr(resultCallback)); if (BulletCollisionPINVOKE.SWIGPendingException.Pending) { throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void debugDrawObject(SWIGTYPE_p_btTransform worldTransform, SWIGTYPE_p_btCollisionShape shape, SWIGTYPE_p_btVector3 color) { BulletCollisionPINVOKE.btCollisionWorld_debugDrawObject(swigCPtr, SWIGTYPE_p_btTransform.getCPtr(worldTransform), SWIGTYPE_p_btCollisionShape.getCPtr(shape), SWIGTYPE_p_btVector3.getCPtr(color)); if (BulletCollisionPINVOKE.SWIGPendingException.Pending) { throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void setCollisionShape(SWIGTYPE_p_btCollisionShape collisionShape) { BulletCollisionPINVOKE.btCollisionObject_setCollisionShape(swigCPtr, SWIGTYPE_p_btCollisionShape.getCPtr(collisionShape)); }