RigidBodySimulation (object)
An object for managing rigid body simulations.
The RigidBodySimulation object provides a tool to combine Fabric Engine systems such as Geometry with Bullet Physics.
The RigidBodySimulation is intended to be used as an example when setting up your own simulations.
Methods
|
RigidBodySimulation ( in RigidBodySimulation other ) |
|
RigidBodySimulation ( in Scalar fps, in UInt32 subSteps, in Vec3 gravity ) |
|
RigidBodySimulation () |
BulletRigidBody[] |
addRigidBodies ! ( in Float32 mass[], in Float32 friction[], in Float32 restitution[], in Xfo xfo[], in Vec3 linearVelocity[], in Vec3 angularVelocity[], in BulletCollisionShape shape[] ) |
BulletRigidBody |
addRigidBody ! ( in Float32 mass, in Float32 friction, in Float32 restitution, in Xfo xfo, in Vec3 linearVelocity, in Vec3 angularVelocity, in BulletCollisionShape shape ) |
RigidBodySimulation |
clone ? () |
|
createGround ! () |
BulletRigidBody[] |
getAllRigidBodies ? () |
Xfo[] |
getAllRigidBodyXfos ? () |
BulletRigidBody |
getRigidBody ? ( in Index index ) |
Xfo |
getRigidBodyXfo ? ( in Index index ) |
|
initPhysics ! () |
|
removeAllRigidBodies ! () |
|
resetSimulation ! () |
|
setAllRigidBodyXfos ! ( in Xfo xfos[] ) |
|
setRigidBodyXfo ! ( in Index index, in Xfo xfo ) |
|
stepSimulation ? () |
|
updateCollisionShape ! ( in BulletCollisionShape shape ) |
|
updateCollisionShapes ! ( in BulletCollisionShape shapes[] ) |
|
updateRigidBodies ! ( in BulletRigidBody bodies[] ) |
|
updateRigidBody ! ( in BulletRigidBody body ) |
|
~RigidBodySimulation () |