public class btSimpleDynamicsWorld extends btDynamicsWorld
className| Constructor and Description |
|---|
btSimpleDynamicsWorld(btDispatcher dispatcher,
btBroadphaseInterface pairCache,
btConstraintSolver constraintSolver,
btCollisionConfiguration collisionConfiguration) |
btSimpleDynamicsWorld(long cPtr,
boolean cMemoryOwn)
Construct a new btSimpleDynamicsWorld, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRigidBody(btRigidBody body) |
void |
addRigidBody(btRigidBody body,
int group,
int mask) |
static long |
getCPtr(btSimpleDynamicsWorld obj) |
int |
stepSimulation(float timeStep) |
int |
stepSimulation(float timeStep,
int maxSubSteps) |
int |
stepSimulation(float timeStep,
int maxSubSteps,
float fixedTimeStep) |
addAction, addCharacter, addConstraint, addConstraint, addVehicle, clearForces, getConstraint, getConstraintConst, getConstraintSolver, getCPtr, getGravity, getNumConstraints, getSolverInfo, getSolverInfoConst, getWorldType, getWorldUserInfo, removeAction, removeCharacter, removeConstraint, removeRigidBody, removeVehicle, setConstraintSolver, setGravity, setInternalTickCallback, setInternalTickCallback, setInternalTickCallback, setWorldUserInfo, synchronizeMotionStatesaddCollisionObject, addCollisionObject, addCollisionObject, computeOverlappingPairs, contactPairTest, contactTest, convexSweepTest, convexSweepTest, debugDrawObject, debugDrawWorld, getBroadphase, getBroadphaseConst, getCollisionObjectArray, getCollisionObjectArrayConst, getCPtr, getDebugDrawer, getDispatcher, getDispatcherConst, getDispatchInfo, getDispatchInfoConst, getForceUpdateAllAabbs, getNumCollisionObjects, getPairCache, objectQuerySingle, objectQuerySingleInternal, performDiscreteCollisionDetection, rayTest, rayTestSingle, rayTestSingleInternal, removeCollisionObject, serialize, setBroadphase, setDebugDrawer, setForceUpdateAllAabbs, updateAabbs, updateSingleAabbdispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btSimpleDynamicsWorld(long cPtr,
boolean cMemoryOwn)
public btSimpleDynamicsWorld(btDispatcher dispatcher, btBroadphaseInterface pairCache, btConstraintSolver constraintSolver, btCollisionConfiguration collisionConfiguration)
public static long getCPtr(btSimpleDynamicsWorld obj)
public int stepSimulation(float timeStep,
int maxSubSteps,
float fixedTimeStep)
stepSimulation in class btDynamicsWorldpublic int stepSimulation(float timeStep,
int maxSubSteps)
stepSimulation in class btDynamicsWorldpublic int stepSimulation(float timeStep)
stepSimulation in class btDynamicsWorldpublic void addRigidBody(btRigidBody body)
addRigidBody in class btDynamicsWorldpublic void addRigidBody(btRigidBody body, int group, int mask)
addRigidBody in class btDynamicsWorldCopyright © 2021. All rights reserved.