Terrain Pitch?

Blitz3D Forums/Blitz3D Beginners Area/Terrain Pitch?

Terry B.(Posted 2006) [#1]
Say you have a player, that walks around a hill covered world. Is there any way to make the player have the same pitch as the terrain beneath it so that it is tilted so that it matches the incline?


mindstorms(Posted 2006) [#2]
You could use this post from the code archives, it is for a car but is easily adapted for anything...

http://www.blitzbasic.com/codearcs/codearcs.php?code=67