Better Helo Cntrol

Blitz3D Forums/Blitz3D Beginners Area/Better Helo Cntrol

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.

If KeyDown(200) Then
hspeed#=hspeed#+0.05
If hspeed#>5 Then hspeed#=5
TurnEntity player ,0.25,0,0
EndIf
If KeyDown(208) Then
hspeed#=hspeed#-0.05
If hspeed#<-2.0 Then hspeed#=-2.0
TurnEntity player ,-0.25,0,0
EndIf


If KeyDown(203) Then
TurnEntity player ,0.25,3,0
EndIf

If KeyDown(205) Then
TurnEntity player ,-0.25,-3,0
EndIf
TranslateEntity player,0,0,0
MoveEntity player , 0 , 0 , hspeed#

problem is that the player(helo) doesn't return parallel after turning. I've got the cam entityparented to the player so tilting the player with a rotation screws the pooch. I'm sure this is a no brainer...thanks

The Dog Person