View Single Post
Old 03-15-07, 12:15 PM   #8
Chad
ACE
 
Join Date: Sep 2002
Location: Kansas City
Posts: 1,274
Downloads: 60
Uploads: 0
Default

Ok, finally! I have found time to come back to my rudder question
Here's something I think it should look like, but doesn't work, so corrections are needed. Just one thing to remember, I'm using Blitz3d.

;Rudder Information
For Each KeyHit(26) TurnEntity conn,0,0.03,0 Until conn 0,0.24,0
;I have it stop at .24 to simulate 40 degrees, because, I want to go in increments of 5 degrees each key press, 5, 10, 15 etc, there would be 8 increments, ;and .03 * 8 = .24
For Each KeyHit(27) TurnEntity conn,0,-0.03,0 Until conn 0,0.24,0
EndIf
If KeyHit(40) Then TurnEntity conn,0,0,0 ; rudder amidships
__________________
Chad is offline   Reply With Quote