Ok, still cannot get this to work. Wondered about the gravity thing as it wasn't acutally doing anything. So I borrowed the code from the driver demo and insterted it, changing the names as required.
So instead of having this:
I have this
but the above code won't do anything at all. The ship just stays total still :( I appreicate the values are really high, but I wanted to make the ship move before trying to scale it all down.
Any more ideas anyone? Please?
So instead of having this:
If KeyDown(200) MoveEntity ship,0,0,-800 EndIf
I have this
If EntityCollided( ship,RACETRACK ) If KeyDown(200) speed=speed+20 If speed>700 speed=700 Else If KeyDown(208) speed=speed-20 If speed<-.5 speed=-.5 Else speed=speed*100 EndIf MoveEntity ship,0,0,speed TranslateEntity ship,0,GRAVITY,0 Else TranslateEntity ship,x_vel,y_vel+GRAVITY,z_vel EndIf
but the above code won't do anything at all. The ship just stays total still :( I appreicate the values are really high, but I wanted to make the ship move before trying to scale it all down.
Any more ideas anyone? Please?