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.
Classes:
Private Types
Parent
Protected Static Functions
_impulseCallback(SceneObject * obj, void * key)
Public Functions
RadialImpulseEvent(const Point3F & pos, F32 radius, F32 magnitude)
pack(NetConnection * , BitStream * bstream)
process(NetConnection * )
unpack(NetConnection * ps, BitStream * bstream)
write(NetConnection * , BitStream * bstream)
Public Static Functions
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