Im having problems using the collision system.Im doing some sort of mix between two examples....in first place i load a model with the ase loader (it does it right).Then i apply to the group of the loaded model, the collision node creation:
ColliderGeometry cg = new ColliderGeometry();
BiTreeCollider bic = new BiTreeCollider();
ColliderNode cn = new ColliderNode(group,ColliderNode.CT_GEOMETRY,ColliderNode.CT_GEOMETRY,false,bic);
The model is a simple wide slim cylinder that looks like a platform.Im using a physical camera like the one in maze3d.So...what is the problem? lets see
Well, the collisions only seem to happen in one side of the cylinder (the down side base)...so if i let fall the camera with gravity from a high position, the camera goes through the cylinder and stops when reaches the base of the cylinder..I have tested with more complex models and it works worse (a world globe that had no collisions at all).
I dont understand whats going on, it seems that the setTwoSided()
method doesnt work, as the collision system+loaded models.