[ODE] Car Simulation(Lots of problems)

Chris Ledwith cledwith at d-a-s.com
Wed Aug 11 23:24:12 MST 2004


> Hum..it seens that there is no solution in my case...I
> have a building that is represented by a user
> mesh..and my car is colliding with it.i dont wanna to
> represent the building like a box. If there is no
> solution using the user mesh to this problem i think
> im in a great trouble. Dont have time now to make the
> test u sugest Chris, but i think u are right. Maybe in
> the weekend i got some time. thanks.
>

No, it's not so bad. Your car probably does not need to collide with the
exact geometry that is visible, does it? You just make a simpler collision
geom for the building and collide that with the car. That way you will not
run into the instability, and you will also have a simpler geometry for
the car to slide against (and not get hung up on little triangles, which
would distract from gameplay). You can always have an additional collision
geom for the building that is more detailed, which you could collide rays
or projectiles against. This is a fairly common approach (UT 2004 does
this, for example).

-Chris



More information about the ODE mailing list