Torque3D Documentation / _generateds / PhysicsUserData

PhysicsUserData

Engine/source/T3D/physics/physicsUserData.h

The base class for physics user data.

More...

Public Static Functions

cast(void * data)

Helper method for casting a void pointer to a userdata pointer.

getObject(void * data)

Helper method for casting a void pointer to a userdata pointer.

Detailed Description

The base class for physics user data.

Protected Attributes

PhysicsBody * mBody 
PhysicsContactSignal mContactSignal 
SceneObject * mObject 

Public Functions

PhysicsUserData()

The constructor.

~PhysicsUserData()

The destructor.

getBody()

getContactSignal()

getObject()

setBody(PhysicsBody * body)

setObject(SceneObject * object)

Public Static Functions

cast(void * data)

Helper method for casting a void pointer to a userdata pointer.

getObject(void * data)

Helper method for casting a void pointer to a userdata pointer.