Simple Flight Simulator?

Blitz3D Forums/Blitz3D Beginners Area/Simple Flight Simulator?

How do I write a simple flight simulator? There is "XFighter" program in the "Samples" folder but the airplane doesn't behave like a real one. Here is part of my program:

  throttle=(JoyU(0)-1) * -0.5
  If (throttle > 0.1 And JoyX(0) < -0.1) Then TurnEntity camera,0,-JoyX(0),0
  If (throttle > 0.1 And JoyX(0) > 0.1) Then TurnEntity camera,0,-JoyX(0),0
  If (throttle > 0.1 And JoyY(0) < -0.1) Then MoveEntity camera,0,JoyY(0),0
  If (throttle > 0.1 And JoyY(0) > 0.1) Then MoveEntity camera,0,JoyY(0),0
  If throttle > 0.1 Then MoveEntity camera,0,0,throttle


I couldn't get the airplane (camera) to fall to the ground if the throttle is set at 0.