[ODE] Sphere vs Terrain : i cannot stop it

Sergey Beloshitsky sergey at rostok-games.com.ua
Wed Jan 26 17:08:20 MST 2005

Hi, All!

I have Sphere and terrain (from dTerrainY class) all collisions are ok, 
but sphere always run and run without stopping, it can't overcome high 
peaks but near them it slows and start to run at opposite directions 
wothout stop
here is my contact params
contact[i].surface.mode = dContactBounce| dContactApprox1;
contact[i].surface.mu = dInfinity;
contact[i].surface.mu2 = 0;
contact[i].surface.bounce = 0.1;
contact[i].surface.bounce_vel = 0.05;
contact[i].surface.soft_cfm = 0.01;

i also used contact[i].surface.mu = 200;
aslo without dContactBounce but there were still the same results

can someone say where is the problem?

Thanks in advance

Шукай в телефоні мій слід...

More information about the ODE mailing list