The U4DPhysicsEngine class is in charge of implemeting the physics engine operations.
More...
The U4DPhysicsEngine class is in charge of implemeting the physics engine operations.
◆ integrate()
void U4DEngine::U4DPhysicsEngine::integrate |
( |
U4DDynamicAction * |
uAction, |
|
|
float |
dt |
|
) |
| |
Method which integrates the equation of motion.
- Parameters
-
uAction | Dynamic action |
dt | Time-step value |
◆ setIntegrator()
void U4DEngine::U4DPhysicsEngine::setIntegrator |
( |
U4DIntegrator * |
uIntegrator | ) |
|
Method which sets the integrator.
- Parameters
-
uIntegrator | Pointer to the integrator to use |
◆ update()
void U4DEngine::U4DPhysicsEngine::update |
( |
float |
dt | ) |
|
Method which updates the state of the physics engine.
- Parameters
-
◆ updatePhysicForces()
void U4DEngine::U4DPhysicsEngine::updatePhysicForces |
( |
U4DDynamicAction * |
uAction, |
|
|
float |
dt |
|
) |
| |
Method which updates all physics forces.
- Parameters
-
uAction | Dynamic action |
dt | Time-step value |