Interface: DiscreteDynamicWorld
Methods
addRigidBody()
addRigidBody(
rigidBody
):void
Parameters
• rigidBody: RigidBody
Returns
void
Defined in
src/bullet/types/DiscreteDynamicWorld.ts:4
removeRigidBody()
removeRigidBody(
rigidBody
):void
Parameters
• rigidBody: RigidBody
Returns
void
Defined in
src/bullet/types/DiscreteDynamicWorld.ts:5
stepSimulation()
stepSimulation(
timeStep
,maxSubSteps
,fixedTimeStep
):void
Update the simulation each frame.
Parameters
• timeStep: number
The time passed
• maxSubSteps: number
• fixedTimeStep: number
Returns
void
Default
1
Default
1/60 (60 Hz)