Vector3.Angle, Vector3.Distance, Vector3.MoveTowards, Vector3.RotateTowards
Drag the following script in the inspector of the follower GameObject:
using UnityEngine;using System.Collections;public class MoveTo : MonoBehaviour { public float speed = 5.0F; GameObject player; Rigidbody rb; Vector3 movement; NavMeshAgent follower; void Start () { player = GameObject.Find ("Player"); rb = GetComponent<Rigidbody> (); follower = GetComponent<NavMeshAgent>(); } void FixedUpdate() { Pursuit (); } void Pursuit() { follower.destination = player.transform.position; transform.LookAt (follower.destination); rb.AddRelativeForce (Vector3.forward.normalized * speed); }}For this script to work, you must build first a Navigation Mesh and create a NavMesh Agent for the ball.