r1sc / Open76

Interstate '76 engine reimplementation
GNU General Public License v3.0
52 stars 3 forks source link

Road hovers terrain #7

Open r1sc opened 6 years ago

r1sc commented 6 years ago

Right now, as a quick fix for terrain vs road height difference problems - the road hovers the terrain by some amount. This is ugly as the wheels sink through the road as they only collide with the terrain. The terrain also penetrates the road at some points.

A better "fix" would be to flatten out the terrain where the road is to avoid these problems.

r1sc commented 6 years ago

N.B. I76 deals with this by drawing just a small amount of road at any time. The road is also always drawn on top of the terrain. This causes some graphical issues however.