Class: btSoftRigidDynamicsWorld
Ammo.btSoftRigidDynamicsWorld
Hierarchy
↳
btSoftRigidDynamicsWorld
Constructors
Methods
- getDispatcher
- rayTest
- getPairCache
- getDispatchInfo
- addCollisionObject
- getBroadphase
- convexSweepTest
- contactPairTest
- contactTest
- updateSingleAabb
- setDebugDrawer
- getDebugDrawer
- debugDrawWorld
- debugDrawObject
- addAction
- removeAction
- getSolverInfo
- setInternalTickCallback
- setGravity
- getGravity
- addRigidBody
- removeRigidBody
- addConstraint
- removeConstraint
- stepSimulation
- setContactAddedCallback
- setContactProcessedCallback
- setContactDestroyedCallback
- addSoftBody
- removeSoftBody
- removeCollisionObject
- getWorldInfo
- getSoftBodyArray
Constructors
constructor
• new btSoftRigidDynamicsWorld(dispatcher
, pairCache
, constraintSolver
, collisionConfiguration
, softBodySolver
): btSoftRigidDynamicsWorld
Parameters
Name | Type |
---|---|
dispatcher | btDispatcher |
pairCache | btBroadphaseInterface |
constraintSolver | btConstraintSolver |
collisionConfiguration | btCollisionConfiguration |
softBodySolver | btSoftBodySolver |
Returns
Overrides
btDiscreteDynamicsWorld.constructor
Defined in
Methods
getDispatcher
▸ getDispatcher(): btDispatcher
Returns
Inherited from
btDiscreteDynamicsWorld.getDispatcher
Defined in
rayTest
▸ rayTest(rayFromWorld
, rayToWorld
, resultCallback
): void
Parameters
Name | Type |
---|---|
rayFromWorld | btVector3 |
rayToWorld | btVector3 |
resultCallback | RayResultCallback |
Returns
void
Inherited from
btDiscreteDynamicsWorld.rayTest
Defined in
getPairCache
▸ getPairCache(): btOverlappingPairCache
Returns
Inherited from
btDiscreteDynamicsWorld.getPairCache
Defined in
getDispatchInfo
▸ getDispatchInfo(): btDispatcherInfo
Returns
Inherited from
btDiscreteDynamicsWorld.getDispatchInfo
Defined in
addCollisionObject
▸ addCollisionObject(collisionObject
, collisionFilterGroup?
, collisionFilterMask?
): void
Parameters
Name | Type |
---|---|
collisionObject | btCollisionObject |
collisionFilterGroup? | number |
collisionFilterMask? | number |
Returns
void
Inherited from
btDiscreteDynamicsWorld.addCollisionObject
Defined in
getBroadphase
▸ getBroadphase(): btBroadphaseInterface
Returns
Inherited from
btDiscreteDynamicsWorld.getBroadphase
Defined in
convexSweepTest
▸ convexSweepTest(castShape
, from
, to
, resultCallback
, allowedCcdPenetration
): void
Parameters
Name | Type |
---|---|
castShape | btConvexShape |
from | btTransform |
to | btTransform |
resultCallback | ConvexResultCallback |
allowedCcdPenetration | number |
Returns
void
Inherited from
btDiscreteDynamicsWorld.convexSweepTest
Defined in
contactPairTest
▸ contactPairTest(colObjA
, colObjB
, resultCallback
): void
Parameters
Name | Type |
---|---|
colObjA | btCollisionObject |
colObjB | btCollisionObject |
resultCallback | ContactResultCallback |
Returns
void
Inherited from
btDiscreteDynamicsWorld.contactPairTest
Defined in
contactTest
▸ contactTest(colObj
, resultCallback
): void
Parameters
Name | Type |
---|---|
colObj | btCollisionObject |
resultCallback | ContactResultCallback |
Returns
void
Inherited from
btDiscreteDynamicsWorld.contactTest
Defined in
updateSingleAabb
▸ updateSingleAabb(colObj
): void
Parameters
Name | Type |
---|---|
colObj | btCollisionObject |
Returns
void
Inherited from
btDiscreteDynamicsWorld.updateSingleAabb
Defined in
setDebugDrawer
▸ setDebugDrawer(debugDrawer
): void
Parameters
Name | Type |
---|---|
debugDrawer | btIDebugDraw |
Returns
void
Inherited from
btDiscreteDynamicsWorld.setDebugDrawer
Defined in
getDebugDrawer
▸ getDebugDrawer(): btIDebugDraw
Returns
Inherited from
btDiscreteDynamicsWorld.getDebugDrawer
Defined in
debugDrawWorld
▸ debugDrawWorld(): void
Returns
void
Inherited from
btDiscreteDynamicsWorld.debugDrawWorld
Defined in
debugDrawObject
▸ debugDrawObject(worldTransform
, shape
, color
): void
Parameters
Name | Type |
---|---|
worldTransform | btTransform |
shape | btCollisionShape |
color | btVector3 |
Returns
void
Inherited from
btDiscreteDynamicsWorld.debugDrawObject
Defined in
addAction
▸ addAction(action
): void
Parameters
Name | Type |
---|---|
action | btActionInterface |
Returns
void
Inherited from
btDiscreteDynamicsWorld.addAction
Defined in
removeAction
▸ removeAction(action
): void
Parameters
Name | Type |
---|---|
action | btActionInterface |
Returns
void
Inherited from
btDiscreteDynamicsWorld.removeAction
Defined in
getSolverInfo
▸ getSolverInfo(): btContactSolverInfo
Returns
Inherited from
btDiscreteDynamicsWorld.getSolverInfo
Defined in
setInternalTickCallback
▸ setInternalTickCallback(cb
, worldUserInfo?
, isPreTick?
): void
Parameters
Name | Type |
---|---|
cb | btInternalTickCallback |
worldUserInfo? | unknown |
isPreTick? | boolean |
Returns
void
Inherited from
btDiscreteDynamicsWorld.setInternalTickCallback
Defined in
setGravity
▸ setGravity(gravity
): void
Parameters
Name | Type |
---|---|
gravity | btVector3 |
Returns
void
Inherited from
btDiscreteDynamicsWorld.setGravity
Defined in
getGravity
▸ getGravity(): btVector3
Returns
Inherited from
btDiscreteDynamicsWorld.getGravity
Defined in
addRigidBody
▸ addRigidBody(body
): void
Parameters
Name | Type |
---|---|
body | btRigidBody |
Returns
void
Inherited from
btDiscreteDynamicsWorld.addRigidBody
Defined in
▸ addRigidBody(body
, group
, mask
): void
Parameters
Name | Type |
---|---|
body | btRigidBody |
group | number |
mask | number |
Returns
void
Inherited from
btDiscreteDynamicsWorld.addRigidBody
Defined in
removeRigidBody
▸ removeRigidBody(body
): void
Parameters
Name | Type |
---|---|
body | btRigidBody |
Returns
void
Inherited from
btDiscreteDynamicsWorld.removeRigidBody
Defined in
addConstraint
▸ addConstraint(constraint
, disableCollisionsBetweenLinkedBodies?
): void
Parameters
Name | Type |
---|---|
constraint | btTypedConstraint |
disableCollisionsBetweenLinkedBodies? | boolean |
Returns
void
Inherited from
btDiscreteDynamicsWorld.addConstraint
Defined in
removeConstraint
▸ removeConstraint(constraint
): void
Parameters
Name | Type |
---|---|
constraint | btTypedConstraint |
Returns
void
Inherited from
btDiscreteDynamicsWorld.removeConstraint
Defined in
stepSimulation
▸ stepSimulation(timeStep
, maxSubSteps?
, fixedTimeStep?
): number
Parameters
Name | Type |
---|---|
timeStep | number |
maxSubSteps? | number |
fixedTimeStep? | number |
Returns
number
Inherited from
btDiscreteDynamicsWorld.stepSimulation
Defined in
setContactAddedCallback
▸ setContactAddedCallback(funcpointer
): void
Parameters
Name | Type |
---|---|
funcpointer | number |
Returns
void
Inherited from
btDiscreteDynamicsWorld.setContactAddedCallback
Defined in
setContactProcessedCallback
▸ setContactProcessedCallback(funcpointer
): void
Parameters
Name | Type |
---|---|
funcpointer | number |
Returns
void
Inherited from
btDiscreteDynamicsWorld.setContactProcessedCallback
Defined in
setContactDestroyedCallback
▸ setContactDestroyedCallback(funcpointer
): void
Parameters
Name | Type |
---|---|
funcpointer | number |
Returns
void
Inherited from
btDiscreteDynamicsWorld.setContactDestroyedCallback
Defined in
addSoftBody
▸ addSoftBody(body
, collisionFilterGroup
, collisionFilterMask
): void
Parameters
Name | Type |
---|---|
body | btSoftBody |
collisionFilterGroup | number |
collisionFilterMask | number |
Returns
void
Defined in
removeSoftBody
▸ removeSoftBody(body
): void
Parameters
Name | Type |
---|---|
body | btSoftBody |
Returns
void
Defined in
removeCollisionObject
▸ removeCollisionObject(collisionObject
): void
Parameters
Name | Type |
---|---|
collisionObject | btCollisionObject |
Returns
void
Overrides
btDiscreteDynamicsWorld.removeCollisionObject
Defined in
getWorldInfo
▸ getWorldInfo(): btSoftBodyWorldInfo
Returns
Defined in
getSoftBodyArray
▸ getSoftBodyArray(): btSoftBodyArray