[ODE] Heightfield / Collision.

gl gl at ntlworld.com
Wed Feb 19 07:38:01 2003


> Another approach is to use a point-triangle distance routine, where the
> point is the sphere's center. The code then returns the closest point CP
on
> the triangle, which gives a normal by computing |Center - CP|. Imagine a
> single triangle (say the one with the green normal), that directly gives a
> normal in the same direction as your red one. With the two triangles in
your
> picture you can indeed average computed normals. Works fine.

Cool, I'll play with those - thanks.

> Especially :
> Physics_StressTest09.zcb
> Physics_StressTest09b.zcb

Nice.  Looking forward to Opcode1.3 Pierre.
--
gl