Get Angle ?

Blitz3D Forums/Blitz3D Beginners Area/Get Angle ?

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

LinePick entityx(player ), entityy(player ) + 10 , entityz( player ), 0,-100,0

If PickedNy < .25 then
{ this is a pretty steep slope }
endif

You don't need atan2 etc.. that's just overkill. Just use the pickedny() .. you'll need to play with the .25 value but 1 = flat , 0 = vertical.

Stevie