sure, but it's a bit tricky, and the following is just a theory I've come up with, you'll have to figure out the specifics of how to do it:
find the height of the top of the slope (get ground height probably), then the height at the bottom of the slope.
Subtract the bottom from the top height, and you got the actual vertical distance between top and bottom. So picture a right angle triangle, and we just found its height. Then we have to find the horizontal distance between top and bottom, and then we have everything we need for some basic trigonometry:
Two sides and a 90 degree angle.
Then, the steepness of the slope is the angle of elevation from bottom to top, so we find that angle using trig:
Reverse Tangent on Vertical/Horizontal should give us that angle.
Understand?
Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors