yuriythebest
17-01-2008 14:49:14
how do I add a TriangleMeshShape for collisions to a character? - the collision shape is defined in the parameters which are string like so?:
as opposed to a body:
where it's possible
question2: how do I view the collision shapes? Why isn't there an mCharacter->setCollisionShapeVisible(bool)?
mCharacter= mPhysScene->createCharacter("character",Vector3(0,130,0),"type: box, dimenions:1,2,1 ");
as opposed to a body:
mPhysScene->createActor("FakeFloor", new CubeShape(1000,2.1f,1000), Vector3(0,-0.05f,0), "static: yes");
where it's possible
question2: how do I view the collision shapes? Why isn't there an mCharacter->setCollisionShapeVisible(bool)?