add force to left of direction of object unity code example
Example: how to make something addforce in the direction of something in untiy
dir = target.transform.position - transform.position;
dir = dir.normalized;
rigidbody.AddForce(dir * force);
dir = target.transform.position - transform.position;
dir = dir.normalized;
rigidbody.AddForce(dir * force);