90 degrees angles

Blitz3D Forums/Blitz3D Programming/90 degrees angles

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.

Do you mean this:
If KeyDown(200)= true Then ; UP ARROW
j=j+1	
RotateEntity Cone,j,0,0
End If

If KeyDown(208)= true Then ; DOWN ARROW
j=j-1	
RotateEntity Cone,j,0,0
End If

If KeyDown(203)= true Then ; LEFT ARROW
j=j+1	
RotateEntity Cone,0,j,0
End If

If KeyDown(205)= true Then ; RIGHT ARROW
j=j-1	
RotateEntity Cone,0,j,0
End If

It is a sloppy hack BUT what you are really referring to are called Euler Angles... Blitz uses them to simulate rotation. Try that and see...