Well, i guess the only reason for walls being trimeshes and no GeomBoxes was lazyness
This way I only had to create the trimesh from the shape, without caring about position, sizes,...
I have redone with GeomBoxes and works pretty decent, although if the GeomBoxes are too much slim and the avatar runs too much, it does not detect the collisions and lets it go through.Other weird thing is that when you colide with the box, sometimes you can see the 'inside' of the box, as if the physical barrier was inside the box, and not in the box sides.
The version Im currently using is odejava-2004-09-07_cvs.zip.The contact class has 4 methods like getGeomID1,getGeomID2,getBodyID1,getBodyID2.If i call this methods in the iterateContacs() method, i get a serie of numbers, but i still dont get what this numbers correspond to.I need to know what are this numbers i get, as i want to program some behaviour to the collisions.
For example, if i have 10 GeomBoxes with the name "door" and my avatar collides with one of this geomboxes, i want to teleport the avatar to another room.Which method in the body or the geoms returns back the same type of identifier that getGeomID1,... returns back?
Maybe my version is a bit updated and the nethods you added are useful for what im trying to do.As a start i'll search for that CVS, thanks