|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/Physics/Body.hpp>
Public Member Functions | |
| ApplyForce (Vector3 force, Vector3 relativePosition=Vector3(0.0)) | |
Creates a new ApplyForce action. | |
Public Attributes | |
| Vector3 | force |
| The force to be applied. | |
| Vector3 | relativePosition = Vector3(0.0) |
| The relative position to apply the force at. | |
Additional Inherited Members | |
Public Types inherited from CeresEngine::EntityAction< ApplyForce > | |
| using | ReturnType = void |
| The type that must be returned by action handlers. | |
Static Public Attributes inherited from CeresEngine::EntityAction< ApplyForce > | |
| static const EntityActionID | actionID |
| This action type ID. | |
|
explicit |
Creates a new ApplyForce action.
| force | The force to be applied. |
| relativePosition | The relative position to apply the force at. |
| Vector3 CeresEngine::ApplyForce::force |
The force to be applied.
The relative position to apply the force at.