Get Angle ?

Blitz3D Forums/Blitz3D Beginners Area/Get Angle ?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I did that and PickedNY has no value assigned to it. And I did assign entitypickmode 2 to my terrain.

In my Code I have "my_angle" as a global # to capture the value so I could see the proposed angle of the terrain vert, and why it was not working. And my "my_angle" variable shows no value for PickedNY:

your code:
LinePick EntityX(player ), EntityY(player ) + 10 , EntityZ( player ), 0,-100,0

my_angle=PickedNY

If PickedNY < .25
;the .25 value but 1 = flat , 0 = vertical
EndIf