lookrotation for 2d code example Example: unity look at 2d transform.right = target.position - transform.position; // Works like a CHARM.