// Start is called before the first frame update private void Awake() { rigidBody = GetComponent <Rigidbody>(); ball = GetComponent <BallControlScript>(); contacts = new ContactPoint[2]; }