Untold Engine  Beta v0.0.16
docs
U4DEngine::U4DGravityForceGenerator Class Reference

The U4DGravityForceGenerator class is in charge of updating gravitational forces acting on a 3D entity. More...

Inherits U4DEngine::U4DBodyForceGenerator.

Public Member Functions

 U4DGravityForceGenerator ()
 Constructor for the class.
 
 ~U4DGravityForceGenerator ()
 Destructor for the class.
 
void updateForce (U4DDynamicAction *uAction, float dt)
 Method which updates the force acting on the entity. More...
 

Detailed Description

The U4DGravityForceGenerator class is in charge of updating gravitational forces acting on a 3D entity.

Member Function Documentation

◆ updateForce()

void U4DEngine::U4DGravityForceGenerator::updateForce ( U4DDynamicAction uAction,
float  dt 
)
virtual

Method which updates the force acting on the entity.

Parameters
uActionDynamic action
dtTime-step value

Implements U4DEngine::U4DBodyForceGenerator.