Hi, I’m trying to make my plane lift off and ascend, but instead it descends. Can anyone help me? Thank you.
var liftSpeed = 20.0;
function FixedUpdate(){
if(Input.GetButton("Lift"))
{
transform.position += transform.forward * liftSpeed * Time.deltaTime;
}
}