// Use this for initialization void Start() { rb = transform.GetComponent <Rigidbody>(); forcesScript = transform.GetComponentInParent <CalculateForcesScript>(); //allows access to the forces and acceleration mass = rb.mass; }