|
Helper object for gameplay physical forces. WIP. More...
Public Member Functions | |
void | attach (Point3F start, Point3F direction, float maxDist) |
Performs a physics ray cast and attracts the hit dynamic physics body to the force position. | |
void | detach (Point3F force=Point3F::Zero) |
Releases the attached physics body with an optional push force. | |
bool | isAttached () |
Returns true if there is a physics body attached. | |
Static Public Attributes | |
static bool | isRenderable |
Disables rendering of all instances of this type. | |
static bool | isSelectable |
Disables selection of all instances of this type. |
Helper object for gameplay physical forces. WIP.
bool PhysicsForce::isRenderable [static] |
Disables rendering of all instances of this type.
Reimplemented from SceneObject.
bool PhysicsForce::isSelectable [static] |
Disables selection of all instances of this type.
Reimplemented from SceneObject.