26 #include "csutil/scf.h"    27 #include "csutil/weakref.h"    28 #include <iengine/mesh.h>    40 struct iObjectRegistry;
    54     psSolid(iObjectRegistry* objectReg);
    62     void SetMesh(iMeshWrapper* mesh);
    74     iObjectRegistry* objectReg;                     
    75     csWeakRef<iMeshWrapper> mesh;                        
    76     csRef<csColliderWrapper> colliderWrap;          
 
void SetMesh(iMeshWrapper *mesh)
Set the mesh that we want to use as the colliding one. 
 
iCollider * GetCollider()
Get the collider object this class creates. 
 
void Setup()
Complete the setup of the class and create the collider wrappers. 
 
psSolid(iObjectRegistry *objectReg)
Create a blank collider.