Planeshift
Public Member Functions

psSolid Class Reference

Collider creation class. More...

#include <solid.h>

List of all members.

Public Member Functions

iCollider * GetCollider ()
 Get the collider object this class creates.
 psSolid (iObjectRegistry *objectReg)
 Create a blank collider.
void SetMesh (iMeshWrapper *mesh)
 Set the mesh that we want to use as the colliding one.
void Setup ()
 Complete the setup of the class and create the collider wrappers.
 ~psSolid ()

Detailed Description

Collider creation class.

For any objects that want to collide with other things use this class and pass in the mesh to be used.

Definition at line 47 of file solid.h.


Constructor & Destructor Documentation

psSolid::psSolid ( iObjectRegistry *  objectReg)

Create a blank collider.

Parameters:
objectRegThe Crystal Space object registry needed to create the collider wrappers.
psSolid::~psSolid ( )

Member Function Documentation

iCollider* psSolid::GetCollider ( )

Get the collider object this class creates.

Returns:
The created collider object.
void psSolid::SetMesh ( iMeshWrapper *  mesh)

Set the mesh that we want to use as the colliding one.

Parameters:
meshThe CEL pcmesh object that has the mesh we want to use as the collding one.
void psSolid::Setup ( )

Complete the setup of the class and create the collider wrappers.


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