public class btSoftRigidDynamicsWorld extends btDiscreteDynamicsWorld
className| Constructor and Description |
|---|
btSoftRigidDynamicsWorld(btDispatcher dispatcher,
btBroadphaseInterface pairCache,
btConstraintSolver constraintSolver,
btCollisionConfiguration collisionConfiguration) |
btSoftRigidDynamicsWorld(btDispatcher dispatcher,
btBroadphaseInterface pairCache,
btConstraintSolver constraintSolver,
btCollisionConfiguration collisionConfiguration,
btSoftBodySolver softBodySolver) |
btSoftRigidDynamicsWorld(long cPtr,
boolean cMemoryOwn)
Construct a new btSoftRigidDynamicsWorld, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSoftBody(btSoftBody body) |
void |
addSoftBody(btSoftBody body,
int collisionFilterGroup) |
void |
addSoftBody(btSoftBody body,
int collisionFilterGroup,
int collisionFilterMask) |
static long |
getCPtr(btSoftRigidDynamicsWorld obj) |
int |
getDrawFlags() |
SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t |
getSoftBodyArray() |
SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t |
getSoftBodyArrayConst() |
btSoftBodyWorldInfo |
getWorldInfo() |
btSoftBodyWorldInfo |
getWorldInfoConst() |
static void |
rayTestSingle(Matrix4 rayFromTrans,
Matrix4 rayToTrans,
btCollisionObject collisionObject,
btCollisionShape collisionShape,
Matrix4 colObjWorldTransform,
RayResultCallback resultCallback) |
void |
removeSoftBody(btSoftBody body) |
void |
setDrawFlags(int f) |
addCollisionObject, addCollisionObject, addCollisionObject, addConstraint, addConstraint, addRigidBody, addRigidBody, applyGravity, debugDrawConstraint, getApplySpeculativeContactRestitution, getCollisionWorld, getCPtr, getLatencyMotionStateInterpolation, getSimulationIslandManager, getSimulationIslandManagerConst, getSynchronizeAllMotionStates, operatorDelete, operatorDelete, operatorDeleteArray, operatorDeleteArray, operatorNew, operatorNew, operatorNewArray, operatorNewArray, setApplySpeculativeContactRestitution, setLatencyMotionStateInterpolation, setNumTasks, setSynchronizeAllMotionStates, stepSimulation, stepSimulation, stepSimulation, synchronizeSingleMotionState, updateVehiclesaddAction, addCharacter, addVehicle, clearForces, getConstraint, getConstraintConst, getConstraintSolver, getCPtr, getGravity, getNumConstraints, getSolverInfo, getSolverInfoConst, getWorldType, getWorldUserInfo, removeAction, removeCharacter, removeConstraint, removeRigidBody, removeVehicle, setConstraintSolver, setGravity, setInternalTickCallback, setInternalTickCallback, setInternalTickCallback, setWorldUserInfo, synchronizeMotionStatescomputeOverlappingPairs, contactPairTest, contactTest, convexSweepTest, convexSweepTest, debugDrawObject, debugDrawWorld, getBroadphase, getBroadphaseConst, getCollisionObjectArray, getCollisionObjectArrayConst, getCPtr, getDebugDrawer, getDispatcher, getDispatcherConst, getDispatchInfo, getDispatchInfoConst, getForceUpdateAllAabbs, getNumCollisionObjects, getPairCache, objectQuerySingle, objectQuerySingleInternal, performDiscreteCollisionDetection, rayTest, rayTestSingleInternal, removeCollisionObject, serialize, setBroadphase, setDebugDrawer, setForceUpdateAllAabbs, updateAabbs, updateSingleAabbdispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btSoftRigidDynamicsWorld(long cPtr,
boolean cMemoryOwn)
public btSoftRigidDynamicsWorld(btDispatcher dispatcher, btBroadphaseInterface pairCache, btConstraintSolver constraintSolver, btCollisionConfiguration collisionConfiguration, btSoftBodySolver softBodySolver)
public btSoftRigidDynamicsWorld(btDispatcher dispatcher, btBroadphaseInterface pairCache, btConstraintSolver constraintSolver, btCollisionConfiguration collisionConfiguration)
public static long getCPtr(btSoftRigidDynamicsWorld obj)
public void addSoftBody(btSoftBody body, int collisionFilterGroup, int collisionFilterMask)
public void addSoftBody(btSoftBody body, int collisionFilterGroup)
public void addSoftBody(btSoftBody body)
public void removeSoftBody(btSoftBody body)
public int getDrawFlags()
public void setDrawFlags(int f)
public btSoftBodyWorldInfo getWorldInfo()
public btSoftBodyWorldInfo getWorldInfoConst()
public SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t getSoftBodyArray()
public SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t getSoftBodyArrayConst()
public static void rayTestSingle(Matrix4 rayFromTrans, Matrix4 rayToTrans, btCollisionObject collisionObject, btCollisionShape collisionShape, Matrix4 colObjWorldTransform, RayResultCallback resultCallback)
Copyright © 2021. All rights reserved.