PhysicalZone

Engine/source/T3D/physicalZone.h

More...

Private Types

enum
UpdateMasks {
  ActiveMask = Parent::NextFreeMask << 0
  NextFreeMask = Parent::NextFreeMask << 1
}
Parent 

Protected Static Attributes

Protected Functions

buildConvex(const Box3F & box, Convex * convex)

Builds a convex hull for this object.

Public Functions

Called after any property of the object is changed in the world editor.

bool
bool

Called when the object is added to the sim.

Called when the object is removed from the sim.

packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Instructs this object to pack its state for transfer over the network.

Called when the SceneManager is ready for the registration of render instances.

Sets the Object -> World transform.

bool

Instructs this object to read state data previously packed with packUpdate.

Public Static Functions

Detailed Description

Private Types

UpdateMasks

Enumerator

ActiveMask = Parent::NextFreeMask << 0
NextFreeMask = Parent::NextFreeMask << 1
typedef SceneObject Parent 

Protected Static Attributes

bool smRenderPZones 

Protected Attributes

bool mActive 
Point3F mAppliedForce 
EarlyOutPolyList mClippedList 
Convex * mConvexList 
F32 mGravityMod 
Polyhedron mPolyhedron 
F32 mVelocityMod 

Protected Functions

buildConvex(const Box3F & box, Convex * convex)

Reimplemented from: SceneObject

Public Functions

PhysicalZone()

~PhysicalZone()

activate()

deactivate()

DECLARE_CONOBJECT(PhysicalZone )

getForce()

getGravityMod()

getVelocityMod()

inspectPostApply()

Reimplemented from: SceneObject

isActive()

onAdd()

Reimplemented from: SceneObject

onRemove()

Reimplemented from: SceneObject

packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Reimplemented from: SceneObject

prepRenderImage(SceneRenderState * state)

Reimplemented from: SceneObject

renderObject(ObjectRenderInst * ri, SceneRenderState * state, BaseMatInstance * overrideMat)

setPolyhedron(const Polyhedron & )

setTransform(const MatrixF & mat)

Reimplemented from: SceneObject

testBox(const Box3F & box)

testObject(SceneObject * )

unpackUpdate(NetConnection * conn, BitStream * stream)

Reimplemented from: SceneObject

Public Static Functions

consoleInit()

initPersistFields()