Simulating lift for an aircraft

I’ve got a aircraft(i used a vehicle,and i want to make it fly), and i want to aply a force relative to the aircraft’s speed, in the up direction of the aircraft to simulate lift.

I know that [java]aircraft.getForwardVector(null)[/java]ruturns the direction the front is facing, and i know that [java]aircraft.getCurrentVehicleSpeedKmHour()[/java]returns the speed. i also know that [java]aircraft.applyForce(new Vector3f(0,aircraft.getCurrentVehicleSpeedKmHour(),0),new Vector3f(0,0,0))[/java] applies a force straight up, but i want it to be relative to the direction of the aircraft.

this should illustrate what i mean:

[java]Vector3f direction=new Vector3f(0,1,0);

vehicle.getPhysicsRotation().multLocal(direction);

vehicle.applyForce(direction);[/java]

thanks normen, it works perfectely.

If you want, I got the actual equation somewhere which tells you exactly how much lift an airplane has, relative to it’s airspeed and wing surface…

ractoc said:
If you want, I got the actual equation somewhere which tells you exactly how much lift an airplane has, relative to it's airspeed and wing surface...

i don't think that will be nessicary, it's just for a game, not for a flying simulator.