PhysicsForce

Engine/source/T3D/physics/physicsForce.h

A physics force controller used for gameplay effects.

More...

Private Types

Parent 

Public Functions

attach(const Point3F & start, const Point3F & direction, F32 maxDist)
bool
bool

Called when the object is added to the sim.

onMount(SceneObject * obj, S32 node)

Callback when this object is mounted.

Called when the object is removed from the sim.

onUnmount(SceneObject * obj, S32 node)

Callback when this object is unmounted.

Processes a move event and updates object state once every 32 milliseconds.

Public Static Functions

Protected Functions

Detailed Description

A physics force controller used for gameplay effects.

Private Types

typedef SceneObject Parent 

Protected Attributes

WeakRefPtr< PhysicsBody > mBody 
F32 mForce 
bool mPhysicsTick 
PhysicsWorld * mWorld 

Public Functions

PhysicsForce()

~PhysicsForce()

attach(const Point3F & start, const Point3F & direction, F32 maxDist)

DECLARE_CONOBJECT(PhysicsForce )

detach(const Point3F & force)

isAttached()

onAdd()

Reimplemented from: SceneObject

onMount(SceneObject * obj, S32 node)

Reimplemented from: SceneObject

onRemove()

Reimplemented from: SceneObject

onUnmount(SceneObject * obj, S32 node)

Reimplemented from: SceneObject

processTick(const Move * move)

Reimplemented from: ProcessObject

Public Static Functions

initPersistFields()

Protected Functions

_preTick()