public static btSoftBody CreatePatchUV(btSoftBodyWorldInfo worldInfo, SWIGTYPE_p_btVector3 corner00, SWIGTYPE_p_btVector3 corner10, SWIGTYPE_p_btVector3 corner01, SWIGTYPE_p_btVector3 corner11, int resx, int resy, int fixeds, bool gendiags) { IntPtr cPtr = BulletSoftBodyPINVOKE.btSoftBodyHelpers_CreatePatchUV__SWIG_1(btSoftBodyWorldInfo.getCPtr(worldInfo), SWIGTYPE_p_btVector3.getCPtr(corner00), SWIGTYPE_p_btVector3.getCPtr(corner10), SWIGTYPE_p_btVector3.getCPtr(corner01), SWIGTYPE_p_btVector3.getCPtr(corner11), resx, resy, fixeds, gendiags); btSoftBody ret = (cPtr == IntPtr.Zero) ? null : new btSoftBody(cPtr, false); if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) { throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static btSoftBody CreateFromConvexHull(btSoftBodyWorldInfo worldInfo, btAlignedObjectArrayVector3 vertices) { IntPtr cPtr = BulletSoftBodyPINVOKE.btSoftBodyHelpers_CreateFromConvexHull__SWIG_3(btSoftBodyWorldInfo.getCPtr(worldInfo), btAlignedObjectArrayVector3.getCPtr(vertices)); btSoftBody ret = (cPtr == IntPtr.Zero) ? null : new btSoftBody(cPtr, false); if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) { throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static btSoftBody CreateFromTetGenData(btSoftBodyWorldInfo worldInfo, string ele, string face, string node, bool bfacelinks, bool btetralinks, bool bfacesfromtetras) { IntPtr cPtr = BulletSoftBodyPINVOKE.btSoftBodyHelpers_CreateFromTetGenData(btSoftBodyWorldInfo.getCPtr(worldInfo), ele, face, node, bfacelinks, btetralinks, bfacesfromtetras); btSoftBody ret = (cPtr == IntPtr.Zero) ? null : new btSoftBody(cPtr, false); if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) { throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static btSoftBody CreateFromConvexHull(btSoftBodyWorldInfo worldInfo, SWIGTYPE_p_btVector3 vertices, int nvertices, bool randomizeConstraints) { IntPtr cPtr = BulletSoftBodyPINVOKE.btSoftBodyHelpers_CreateFromConvexHull__SWIG_0(btSoftBodyWorldInfo.getCPtr(worldInfo), SWIGTYPE_p_btVector3.getCPtr(vertices), nvertices, randomizeConstraints); btSoftBody ret = (cPtr == IntPtr.Zero) ? null : new btSoftBody(cPtr, false); if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) { throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static btSoftBody CreateFromTriMesh(btSoftBodyWorldInfo worldInfo, float[] vertices, int[] triangles, int ntriangles) { IntPtr cPtr = BulletSoftBodyPINVOKE.btSoftBodyHelpers_CreateFromTriMesh__SWIG_1(btSoftBodyWorldInfo.getCPtr(worldInfo), vertices, triangles, ntriangles); btSoftBody ret = (cPtr == IntPtr.Zero) ? null : new btSoftBody(cPtr, false); if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) { throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static btSoftBody CreateEllipsoid(btSoftBodyWorldInfo worldInfo, SWIGTYPE_p_btVector3 center, SWIGTYPE_p_btVector3 radius, int res) { IntPtr cPtr = BulletSoftBodyPINVOKE.btSoftBodyHelpers_CreateEllipsoid(btSoftBodyWorldInfo.getCPtr(worldInfo), SWIGTYPE_p_btVector3.getCPtr(center), SWIGTYPE_p_btVector3.getCPtr(radius), res); btSoftBody ret = (cPtr == IntPtr.Zero) ? null : new btSoftBody(cPtr, false); if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) { throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static btSoftBody CreateRope(btSoftBodyWorldInfo worldInfo, SWIGTYPE_p_btVector3 from, SWIGTYPE_p_btVector3 to, int res, int fixeds) { IntPtr cPtr = BulletSoftBodyPINVOKE.btSoftBodyHelpers_CreateRope(btSoftBodyWorldInfo.getCPtr(worldInfo), SWIGTYPE_p_btVector3.getCPtr(from), SWIGTYPE_p_btVector3.getCPtr(to), res, fixeds); btSoftBody ret = (cPtr == IntPtr.Zero) ? null : new btSoftBody(cPtr, false); if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) { throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public override void processCollision(btSoftBody arg0, btSoftBody arg1) { BulletSoftBodyPINVOKE.btDefaultSoftBodySolver_processCollision__SWIG_1(swigCPtr, btSoftBody.getCPtr(arg0), btSoftBody.getCPtr(arg1)); }
public virtual void copySoftBodyToVertexBuffer(btSoftBody softBody, btVertexBufferDescriptor vertexBuffer) { BulletSoftBodyPINVOKE.btDefaultSoftBodySolver_copySoftBodyToVertexBuffer(swigCPtr, btSoftBody.getCPtr(softBody), btVertexBufferDescriptor.getCPtr(vertexBuffer)); }
public void addSoftBody(btSoftBody body, short collisionFilterGroup, short collisionFilterMask) { BulletSoftBodyPINVOKE.btSoftRigidDynamicsWorld_addSoftBody__SWIG_0(swigCPtr, btSoftBody.getCPtr(body), collisionFilterGroup, collisionFilterMask); }
public void removeSoftBody(btSoftBody body) { BulletSoftBodyPINVOKE.btSoftRigidDynamicsWorld_removeSoftBody(swigCPtr, btSoftBody.getCPtr(body)); }
public void addSoftBody(btSoftBody body) { BulletSoftBodyPINVOKE.btSoftRigidDynamicsWorld_addSoftBody__SWIG_2(swigCPtr, btSoftBody.getCPtr(body)); }
public static void DrawClusterTree(btSoftBody psb, SWIGTYPE_p_btIDebugDraw idraw, int mindepth) { BulletSoftBodyPINVOKE.btSoftBodyHelpers_DrawClusterTree__SWIG_1(btSoftBody.getCPtr(psb), SWIGTYPE_p_btIDebugDraw.getCPtr(idraw), mindepth); }
public static void DrawInfos(btSoftBody psb, SWIGTYPE_p_btIDebugDraw idraw, bool masses, bool areas, bool stress) { BulletSoftBodyPINVOKE.btSoftBodyHelpers_DrawInfos(btSoftBody.getCPtr(psb), SWIGTYPE_p_btIDebugDraw.getCPtr(idraw), masses, areas, stress); }
public static void Draw(btSoftBody psb, SWIGTYPE_p_btIDebugDraw idraw, int drawflags) { BulletSoftBodyPINVOKE.btSoftBodyHelpers_Draw__SWIG_0(btSoftBody.getCPtr(psb), SWIGTYPE_p_btIDebugDraw.getCPtr(idraw), drawflags); }
public virtual void processCollision(btSoftBody arg0, SWIGTYPE_p_btCollisionObjectWrapper arg1) { BulletSoftBodyPINVOKE.btSoftBodySolver_processCollision__SWIG_0(swigCPtr, btSoftBody.getCPtr(arg0), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(arg1)); }
public virtual void processCollision(btSoftBody arg0, btSoftBody arg1) { BulletSoftBodyPINVOKE.btSoftBodySolver_processCollision__SWIG_1(swigCPtr, btSoftBody.getCPtr(arg0), btSoftBody.getCPtr(arg1)); }
public static void DrawFaceTree(btSoftBody psb, SWIGTYPE_p_btIDebugDraw idraw) { BulletSoftBodyPINVOKE.btSoftBodyHelpers_DrawFaceTree__SWIG_2(btSoftBody.getCPtr(psb), SWIGTYPE_p_btIDebugDraw.getCPtr(idraw)); }