16#ifndef BT_SOFT_RIGID_DYNAMICS_WORLD_H
17#define BT_SOFT_RIGID_DYNAMICS_WORLD_H
88 virtual void rayTest(
const btVector3& rayFromWorld,
const btVector3& rayToWorld, RayResultCallback& resultCallback)
const;
97 RayResultCallback& resultCallback);
@ BT_SOFT_RIGID_DYNAMICS_WORLD
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
btAlignedObjectArray< btSoftBody * > btSoftBodyArray
The btBroadphaseInterface class provides an interface to detect aabb-overlapping object pairs.
btCollisionConfiguration allows to configure Bullet collision detection stack allocator size,...
btCollisionObject can be used to manage collision detection objects.
The btCollisionShape class provides an interface for collision shapes that can be shared among btColl...
btDiscreteDynamicsWorld provides discrete rigid body simulation those classes replace the obsolete Cc...
The btDispatcher interface class can be used in combination with broadphase to dispatch calculations ...
The btSoftBody is an class to simulate cloth and volumetric soft bodies.
btSoftBodyWorldInfo m_sbi
btSoftBodyArray m_softBodies
virtual btDynamicsWorldType getWorldType() const
void serializeSoftBodies(btSerializer *serializer)
void removeSoftBody(btSoftBody *body)
btSoftBodySolver * m_softBodySolver
Solver classes that encapsulate multiple soft bodies for solving.
virtual void debugDrawWorld()
virtual ~btSoftRigidDynamicsWorld()
btSoftBodyArray & getSoftBodyArray()
void addSoftBody(btSoftBody *body, int collisionFilterGroup=btBroadphaseProxy::DefaultFilter, int collisionFilterMask=btBroadphaseProxy::AllFilter)
virtual void rayTest(const btVector3 &rayFromWorld, const btVector3 &rayToWorld, RayResultCallback &resultCallback) const
rayTest performs a raycast on all objects in the btCollisionWorld, and calls the resultCallback This ...
static void rayTestSingle(const btTransform &rayFromTrans, const btTransform &rayToTrans, btCollisionObject *collisionObject, const btCollisionShape *collisionShape, const btTransform &colObjWorldTransform, RayResultCallback &resultCallback)
rayTestSingle performs a raycast call and calls the resultCallback.
virtual void predictUnconstraintMotion(btScalar timeStep)
const btSoftBodyWorldInfo & getWorldInfo() const
virtual void serialize(btSerializer *serializer)
Preliminary serialization test for Bullet 2.76. Loading those files requires a separate parser (see B...
virtual void internalSingleStepSimulation(btScalar timeStep)
btSoftRigidDynamicsWorld(btDispatcher *dispatcher, btBroadphaseInterface *pairCache, btConstraintSolver *constraintSolver, btCollisionConfiguration *collisionConfiguration, btSoftBodySolver *softBodySolver=0)
btSoftBodyWorldInfo & getWorldInfo()
const btSoftBodyArray & getSoftBodyArray() const
virtual void removeCollisionObject(btCollisionObject *collisionObject)
removeCollisionObject will first check if it is a rigid body, if so call removeRigidBody otherwise ca...
void solveSoftBodiesConstraints(btScalar timeStep)
btVector3 can be used to represent 3D points and vectors.