Hello;
I'm adapting my little application to use CEL by looking at the tutorial (celtutorial.zip - In CEL's download page) and adapting his code to mine. Well, my app is an FPS-like, 1st person camera, and I didn't want to have an mesh for the player character (I don't have any meshes for that at all.)
The problem is, when initializing the player, I neewd to set up the CD system, and it throws an error saying : "cel.persistence: No Mesh found on entity!". My question is: is a mesh for player really necessary? I've set up the BBox for the player, using the csColliderActor parameters:
pclinmove->InitCD(csVector3(.3f, .5f, .3f), csVector3(.5f, 2.0f, .5f), csVector3(0,-1,0));
as
csVector3 legs (.5f, 2.0f, .5f);
csVector3 body (.3f, .5f, .3f);
csVector3 shift (0, -1, 0);
With this data, the CD sys can't work without a mesh?
If not, can I create meshes using functions like
csBox3() for example?
Regards;