I try some test on the mechtest app., and I have trouble with the AttachColliderMesh function.
For exemple: I just want to change the actor sphere with a custom object ( like a flattened sphere) and I add a MeshCollider insteat of a standard sphere collider..
in mechtest.cpp I changed the object
// pcmesh->SetMesh ("Sphere", "sphere");
pcmesh->SetMesh ("platsphere", "platsphere");
with this, I can see the new mesh object but I want to have the collision based on the mesh
I change in CreateDynActor()
// pcmechobject->AttachColliderSphere (.42f, csVector3 (0, 0, 0));
but my "platsphere" fall down.. (like if they don't have collision with the ground)
After that, I try without comment pcmechobject->AttachColliderSphere.. and now the ground interact with the sphere collider.. but other objects (like walls and balls) interact with the "platsphere" Mesh..
Any idea ?!