PhysicalZone Class Reference#include <physicalZone.h>
Inheritance diagram for PhysicalZone:
[legend]List of all members.
Member Typedef Documentation
Member Enumeration Documentation
- Enumerator:
-
InitialUpdateMask |
|
ActiveMask |
|
Constructor & Destructor Documentation
PhysicalZone::PhysicalZone |
( |
|
) |
|
PhysicalZone::~PhysicalZone |
( |
|
) |
|
Member Function Documentation
bool PhysicalZone::onAdd |
( |
|
) |
[protected, virtual] |
Called when the object is added to the sim.
Reimplemented from SceneObject.
void PhysicalZone::onRemove |
( |
|
) |
[protected, virtual] |
Called when the object is removed from the sim.
Reimplemented from SceneObject.
void PhysicalZone::setTransform |
( |
const MatrixF & |
mat |
) |
[virtual] |
Sets the Object -> World transform.
- Parameters:
-
Reimplemented from SceneObject.
void PhysicalZone::buildConvex |
( |
const Box3F & |
box, |
|
|
Convex * |
convex | |
|
) |
| | [protected, virtual] |
Builds a convex hull for this object.
Think of a convex hull as a low-res mesh which covers, as tightly as possible, the object mesh, and is used as a collision mesh. - Parameters:
-
| box | |
| convex | Convex mesh generated (out) |
Reimplemented from SceneObject.
F32 PhysicalZone::getVelocityMod |
( |
|
) |
const [inline] |
F32 PhysicalZone::getGravityMod |
( |
|
) |
const [inline] |
const Point3F& PhysicalZone::getForce |
( |
|
) |
const [inline] |
void PhysicalZone::activate |
( |
|
) |
|
void PhysicalZone::deactivate |
( |
|
) |
|
bool PhysicalZone::isActive |
( |
|
) |
const [inline] |
static void PhysicalZone::initPersistFields |
( |
|
) |
[static] |
Instructs this object to pack its state for transfer over the network.
- Parameters:
-
| conn | Net connection being used |
| mask | Mask indicating fields to transmit. |
| stream | Bitstream to pack data to |
- Returns:
- Any bits which were not dealt with. The value is stored by the networking system. Don't set bits you weren't passed.
Reimplemented from NetObject.
Instructs this object to read state data previously packed with packUpdate.
- Parameters:
-
| conn | Net connection being used |
| stream | stream to read from |
Reimplemented from NetObject.
Member Data Documentation
|