16 #ifndef BT_SIMPLE_DYNAMICS_WORLD_H
17 #define BT_SIMPLE_DYNAMICS_WORLD_H
89 #endif //BT_SIMPLE_DYNAMICS_WORLD_H
virtual int stepSimulation(btScalar timeStep, int maxSubSteps=1, btScalar fixedTimeStep=btScalar(1.)/btScalar(60.))
maxSubSteps/fixedTimeStep for interpolation is currently ignored for btSimpleDynamicsWorld, use btDiscreteDynamicsWorld instead
void integrateTransforms(btScalar timeStep)
virtual void updateAabbs()
The btSimpleDynamicsWorld serves as unit-test and to verify more complicated and optimized dynamics w...
The btDynamicsWorld is the interface class for several dynamics implementation, basic, discrete, parallel, and continuous etc.
btCollisionConfiguration allows to configure Bullet collision detection stack allocator size...
virtual void removeRigidBody(btRigidBody *body)
Basic interface to allow actions such as vehicles and characters to be updated inside a btDynamicsWor...
virtual btVector3 getGravity() const
virtual void removeCollisionObject(btCollisionObject *collisionObject)
removeCollisionObject will first check if it is a rigid body, if so call removeRigidBody otherwise ca...
virtual void synchronizeMotionStates()
bool m_ownsConstraintSolver
The btOverlappingPairCache provides an interface for overlapping pair management (add, remove, storage), used by the btBroadphaseInterface broadphases.
virtual void removeAction(btActionInterface *action)
btCollisionObject can be used to manage collision detection objects.
void predictUnconstraintMotion(btScalar timeStep)
The btRigidBody is the main class for rigid body objects.
The btBroadphaseInterface class provides an interface to detect aabb-overlapping object pairs...
virtual ~btSimpleDynamicsWorld()
virtual void debugDrawWorld()
btVector3 can be used to represent 3D points and vectors.
virtual btConstraintSolver * getConstraintSolver()
virtual void setConstraintSolver(btConstraintSolver *solver)
virtual void setGravity(const btVector3 &gravity)
btSimpleDynamicsWorld(btDispatcher *dispatcher, btBroadphaseInterface *pairCache, btConstraintSolver *constraintSolver, btCollisionConfiguration *collisionConfiguration)
this btSimpleDynamicsWorld constructor creates dispatcher, broadphase pairCache and constraintSolver ...
virtual void clearForces()
virtual void addRigidBody(btRigidBody *body)
The btDispatcher interface class can be used in combination with broadphase to dispatch calculations ...
btConstraintSolver * m_constraintSolver
virtual btDynamicsWorldType getWorldType() const
virtual void addAction(btActionInterface *action)
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...