I was hoping someone might be able to give me a few clues as to how to get an object to align to the angles of a terrain. What I'm basically talking about is a little robot on wheels that drives around a terrain under player control. If the robot is going uphill, it should tilt back so that all wheels are planted on the terrain surface. Instead, the model remains flat and therefore the leading wheel is all that's touching the terrain...
I've had a look at the "driver" sample that comes with Blitz, but I just can't figure out how it's doing it...
If anyone wants to take a look at the big picture, the code can be found here:
http://www.evacademy.com/download/blitz/terrain_source.zip (1094Kb - sorry, it’s got all the textures and stuff in there too)
Any hints welcome - not looking for code or anything. Just a nice starting point...
I've had a look at the "driver" sample that comes with Blitz, but I just can't figure out how it's doing it...
If anyone wants to take a look at the big picture, the code can be found here:
http://www.evacademy.com/download/blitz/terrain_source.zip (1094Kb - sorry, it’s got all the textures and stuff in there too)
Any hints welcome - not looking for code or anything. Just a nice starting point...