palCompoundBody Class Reference

#include <palBodies.h>

Inheritance diagram for palCompoundBody:

palBody palBodyBase

List of all members.

Public Member Functions

virtual void Init (Float x, Float y, Float z)


Detailed Description

A compound body, for representing a body composed of multiple geometries. This represents a given number of elementary geometry types which combine to create a more complex compound body. For very complex objects, consider using a mesh to represent the geometry, if it is supported by the physics engine.

Geometries must be added to a body via its Add functions, and then the Finalize function must be called to compound the body.

compoundbody.jpg
The diagram indicates the central point of the geometries used to construct the body, and the central reference point of the body.

Member Function Documentation

void palCompoundBody::Init ( Float  x,
Float  y,
Float  z 
) [virtual]

Initializes the compound body at a given position. The effective orientation of the body is specified via the orientation of the geometries.

Parameters:
x The position (x)
y The position (y)
z The position (z)


The documentation for this class was generated from the following files:

Generated on Mon Aug 31 13:58:02 2009 for pal by  doxygen 1.5.7.1