Another trival question

Hi, today I wanted make simple helicopter simulation. I started from helicopter controlling, vertical flight. My concept was: add vertical force to game object. Here’s m code:

var rb : Rigidbody2D;

public var thrust : float = 12f;

private var grounded : boolean = true;

function Start () {
    rb = GetComponent.<Rigidbody2D>();
}


function Update () {
    if(Input.GetKey(KeyCode.Space)) {
        Debug.Log("up");
        rb.AddForce(Vector2.up * thrust * Time.deltaTime, ForceMode2D.Force);
        }   
}

While “Up” is debugged, force wasn’t added, helicopter stayed in same place. Any idea what can be wrong ?
PS, sorry for my english :stuck_out_tongue:

Ok, I’ve just increased value of force -.-
Any ideas to add inertia to horizontal movement ?

Dude, I’ve done it.
Please moderation remove this topic

or alternatively you could add in how you managed it in case someone else looking for the answer stumbles onto the post…

I’ve just added linear drag to helicopter, than I added physic material with little drag to stop heli on ground and medium bounciness. Also I made script so that, when object is grounded, it can’t move horizontaly.