3 of 6
Tried to improve the question.
Vaillancourt
  • 14720
  • 16
  • 48
  • 54

How to make an object move to certain point and have it stay there?

I'm trying to force object to move to certain point without using "LookAt", then having it stay at that point.

public Transform airEye;
public Transform airship;

public float move_speed;
public Vector3 target_position;

// Use this for initialization
void Start () {
}

// Update is called once per frame
void Update () {
  target_position = new Vector3( 
    airEye.transform.position.x,
    airEye.transform.position.y + 3,
    airEye.transform.position.z );
  // make the airship move smoothly to target_position point ?
}
  
user43474
  • 503
  • 6
  • 19