Torque3D Documentation / _generateds / RadialImpulseEvent

RadialImpulseEvent

Engine/source/T3D/physics/physicsEvents.h

When this NetEvent is processed on the client-side it applies a radial impulse to objects in the physics simulation.

More...

Classes:

Private Types

Parent 

Protected Attributes

Protected Static Functions

Public Static Functions

impulse(SceneContainer * con, const Point3F & position, F32 radius, F32 magnitude)

Detailed Description

When this NetEvent is processed on the client-side it applies a radial impulse to objects in the physics simulation.

Private Types

typedef NetEvent Parent 

Protected Attributes

F32 mMagnitude 
Point3F mPosition 
F32 mRadius 

Protected Static Functions

_impulseCallback(SceneObject * obj, void * key)

Public Functions

RadialImpulseEvent()

RadialImpulseEvent(const Point3F & pos, F32 radius, F32 magnitude)

~RadialImpulseEvent()

DECLARE_CONOBJECT(RadialImpulseEvent )

pack(NetConnection * , BitStream * bstream)

Reimplemented from: NetEvent

process(NetConnection * )

Reimplemented from: NetEvent

unpack(NetConnection * ps, BitStream * bstream)

Reimplemented from: NetEvent

write(NetConnection * , BitStream * bstream)

Reimplemented from: NetEvent

Public Static Functions

impulse(SceneContainer * con, const Point3F & position, F32 radius, F32 magnitude)