problem with trimesh collision

kailash

04-07-2008 15:44:36

Hi everyone,
I am quite new to both ogre an ogreOde, and I am trying to develop a simple game of pool.

I used a trimesh to obtain the geometry for my pool table and when balls impact at high speed at the sides of the table, they often pierce through the side and fall on the ground.

This appens more often when the ball is very close to the side of the table but this beaviour is quite unpredictable.

However when a ball collides with another ball, even at top speed, there is no problem.

Is this a trimesh problem? Or maybe I have to tweak some ogreode parameter?

I am sorry if my english is not perfect :P

rewb0rn

07-07-2008 16:20:52

I am quite sure it has to do with the TransformGeometry. Yet you can try if it works better for you if you increase the bouncyness. You could also try to model the table physically with boxes instead of a TransformGeo, think that would serve better in your case with a more stable simulation.

kailash

08-07-2008 10:37:42

I increased the bouncyness and decreased force dependant slip and now it looks like it works! Thank you !