How to create a homing script

I have this model that I want to home onto my charecter while shooting fire balls.

1 Answer

1

You could take a look at the reference for Vector3.Lerp:

var target : Transform;
var smooth : float = 5.0;

transform.position = Vector3.Lerp (transform.position, target.position,Time.deltaTime * smooth);