Untold Engine
Beta v0.0.16
docs
|
The U4DGravityForceGenerator class is in charge of updating gravitational forces acting on a 3D entity. More...
Inherits U4DEngine::U4DBodyForceGenerator.
Public Member Functions | |
U4DRestingForcesGenerator () | |
Constructor for the class. | |
~U4DRestingForcesGenerator () | |
Destructor for the class. | |
void | updateForce (U4DDynamicAction *uAction, float dt) |
Method which updates the force acting on the entity. More... | |
void | generateNormalForce (U4DDynamicAction *uAction) |
Method which computes the resting normal force acting on the 3D entity. More... | |
void | generateTorqueForce (U4DDynamicAction *uAction) |
Method which computes the torque force acting on the 3D entity. More... | |
The U4DGravityForceGenerator class is in charge of updating gravitational forces acting on a 3D entity.
void U4DEngine::U4DRestingForcesGenerator::generateNormalForce | ( | U4DDynamicAction * | uAction | ) |
Method which computes the resting normal force acting on the 3D entity.
uAction | Dynamic action |
void U4DEngine::U4DRestingForcesGenerator::generateTorqueForce | ( | U4DDynamicAction * | uAction | ) |
Method which computes the torque force acting on the 3D entity.
uAction | Dynamic action |
|
virtual |
Method which updates the force acting on the entity.
uAction | Dynamic action |
dt | Time-step value |
Implements U4DEngine::U4DBodyForceGenerator.