Public Types | |
| enum | { MAX_CONTACTS = 8 } |
Public Member Functions | |
| dGeomID | addNewPlane (Vector3 normal, float distance) |
| Add a "floor" to this world. | |
| int | getBodyCount () |
| Get number of bodies in this ODEWorld. | |
| dJointGroupID | getJointGroupID () |
| dSpaceID | getSpaceID () |
| dWorldID | getWorldID () |
| ODEWorld () | |
| void | ODEWorld::setCFM (float cfm) |
| void | ODEWorld::setERP (float erp) |
| void | setGravity (const Vector3 &gravity) |
| Set the Gravity. | |
| void | update (double dt) |
| Simulate for timestep dt. | |
| ~ODEWorld () | |
Static Public Member Functions | |
| static void | nearCollisionCallback (void *data, dGeomID o1, dGeomID o2) |
| Set collision Callback. | |
Public Attributes | |
| float | physicStep |
Static Public Attributes | |
| static const float | CONSTRAINT_FORCE_MIXING |
| static const float | ERROR_REDUCTION_PARAMETER |
| static const float | PHYSIC_STEP |
Protected Attributes | |
| dJointGroupID | jointGroupID |
| float | physicTime |
| dSpaceID | spaceID |
| dWorldID | worldID |
Static Protected Attributes | |
| static ODEWorld * | activeODEWorld |
| static dContact | contacts [] |
| static int | numODEWorlds |
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Add a "floor" to this world.
|
|
|
Get number of bodies in this ODEWorld.
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
Set collision Callback.
|
|
|
|
|
|
|
|
|
Set the Gravity.
|
|
|
Simulate for timestep dt.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.3