[ODE] Simulating a vehicle over a terrain

Nate W coding at natew.com
Mon Sep 15 23:14:43 MST 2003


On Sun, 14 Sep 2003, [iso-8859-1] Robson Ito wrote:

> Hi all, it's my first post in this mailling list. i'm using a
> heightmap to represent my terrain and i want to simulate some vehicles
> moving over it. What is the best way to convert the terrain into a
> geometry than can be used with ODE?

Have a look at the documentation for the Triangle Mesh geometry class.  
Basically, you need to convert the height map to an array of triangles,
then create a triangle mesh object using that array.

-- 

Nate Waddoups
Redmond WA USA
http://www.natew.com





More information about the ODE mailing list