13.03.2013, 08:33
Maths is definately not my strong point, but I assume you need to get the Z height of the 4 neighbouring coordinates and use higherside-lowerside to find the difference, then from that use some math functions to work out the x or y rotation of the object. Sin + Cos? Not sure.