create collision objects


I loaded some objects and I want to create the collision objects for them.

I have some objects wich are simple boxes (so I think a box will suffice, but I found there is no CollisionBox in the list :confused: ).

Also I wanted to check for collision with the visible faces of the object (wich have a more complicated shape). I read in the manual that there is possible to check the collision with the mesh faces, but i did not found how to do that.
Could you show me a example of code for creating the collision object with the visible faces?

Thanks in advance.