[ODE] small sized capsule on heightmap problem

Jon Watte (ODE) hplus-ode at mindcontrol.org
Tue Sep 26 13:37:25 MST 2006


Sorry, I was thinking "terrain" as "trimesh." Trimeshes are infinitely 
thin. If it's using the heightfield collider, then that does indeed have
a thickness (although it doesn't hurt to check it).

Cheers,

			/ h+


David Walters wrote:
>> The terrain is infinitely thin. This means that objects can tunnel
>> through terrain, if they move quickly in a single time step. The
>> solution is to make the objects bigger, to take much smaller time steps,
>> or to do some kind of continuous collision (like casting a ray or
>> capsule between old and new position each step).
> 
> Actually, although this may be the case (I have not tried to reproduce
> any tunneling) - it is actually not intentional. The terrain has a



More information about the ODE mailing list