Problems with Collisions

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();
                              cg.setModel(group);
                              BiTreeCollider bic = new BiTreeCollider();
                              bic.build(cg);
                              ColliderNode cn = new ColliderNode(group,ColliderNode.CT_GEOMETRY,ColliderNode.CT_GEOMETRY,false,bic);
                              cn.setTwoSided(true);
                              cn.setResponse(CollisionResponse.BOUNCE);

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.

Any suggestion?
Thanks ???

Nobody that has worked with collisions can bring some light to the problem? Nobody uses them? :-/

Can’t help you sorry - I use Odejava for my collision and physics needs (and have been making many improvements to that API) :slight_smile:

David Yazel, the author of the collision system is no longer activly developing the code. If you become skilled enough with the collision package and want to take over the maintenance role, you are more than welcome to :wink:

Will.

Well…in fact your answer contains a possible solution --> use OdeJava! :slight_smile:
I would love to help in the development, but the fact is that im a total noob to this 3D world, so i need to understand a lot of things before thinking about improving them.
Thanks for your answer.