Main   Class List   Namespace List   Wiki

PhysicsForce Class Reference
[Physics]

Helper object for gameplay physical forces. WIP. More...

Inheritance diagram for PhysicsForce:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

Helper object for gameplay physical forces. WIP.


Member Data Documentation

Disables rendering of all instances of this type.

Reimplemented from SceneObject.

Disables selection of all instances of this type.

Reimplemented from SceneObject.



Copyright © GarageGames, LLC. All Rights Reserved.