I apologise for the title not being very clear, I wasn’t sure how to word it. I have 2 forces on my plane, one that lifts it and one that balances it with gravity. Once the plane reaches a certain speed, a force creates lift. When it reaches a different speed, another force balances it. How it should work is that the force providing lift is exactly equal to the force of gravity (9.81m/s).
void TakeOff()
{
rigidbody.AddForce (Vector3.up * 150);//Lift
if(Speed < TakeOffSpeed - 20)
rigidbody.AddForce (Vector3.down * 140.19F);//Equalizes Lift
}
The problem I have however, is that it works at first, then after about 10 seconds my airplane begins losing altitude!
Thanks