PhysicsForce
Engine/source/T3D/physics/physicsForce.h
A physics force controller used for gameplay effects.
Private Types
Parent
Protected Attributes
Public Functions
bool
bool
onAdd()
Called when the object is added to the sim.
onMount(SceneObject * obj, S32 node)
Callback when this object is mounted.
onUnmount(SceneObject * obj, S32 node)
Callback when this object is unmounted.
processTick(const Move * move)
Processes a move event and updates object state once every 32 milliseconds.
Public Static 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