Rotating entity continuously

Blitz3D Forums/Blitz3D Beginners Area/Rotating entity continuously

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.

Ok, I liked where Matty was going with his, and I changed some things around and I like the way it goes. But his was for the rudder only. I took a look at your code Sledge and kinda got confused when looking at the velocities and stuff. I've been trying for about an hour now to get my sub to move, I've tried moveentity and translateentity to no avail. I could be missing something pretty obvious, it's 3:05am in the morning here and pretty brain dead, so if I am just smack me in the back of the head and tell me nicely.

I've commented out a lot thinking maybe I missed something somewhere later, so I left the two commands the same. I tried, keyhit, keydown, translateentity, moveentity, and yet my sub stays stationary. Please take a look and could you tell me why it isn't moving?

;SPEED SETTINGS
If KeyDown(num1) Then Aheadslow=1-Aheadslow:Aheadtwothirds=0;:AheadStandard=0:AheadFull=0:AheadFlank=0
If KeyDown(num2) Then Aheadtwothirds=1-Aheadtwothirds:AheadSlow=0;:AheadStandard=0:AheadFull=0:AheadFlank=0
;If KeyDown(num3) Then Aheadstandard=1-Aheadstandard:AheadSlow=0:Aheadtwothirds=0:AheadFull=0:AheadFlank=0
;If KeyDown(num4) Then AheadFull=1-aheadFull:Aheadslow=0:Aheadtwothirds=0:AheadStandard=0:AheadFlank=0
;If KeyDown(num5) Then aheadFlank=1-aheadFlank:Aheadslow=0:Aheadtwothirds=0:AheadStandard=0:AheadFull=0

If Aheadslow<>0 Then
MoveEntity conn,.4,0,0
EndIf
If Aheadtwothirds<>0 Then
MoveEntity conn,2.0,0,0
EndIf
;If Aheadstandard<>0 Then
;TranslateEntity conn,7,0,0
;EndIf
;If AheadFull<>0 Then
;TranslateEntity conn,12,0,0
;EndIf
;If AheadFlank<>0 Then
;TranslateEntity conn,16,0,0
;EndIf