How do I invert my arrow that is pointing Z forward to point backwards? The arrow has it own rotation and position. The arrow is also linked to it´s parent rotation and moving position in space. I wish to rotate flip direction of my arrow conserving the direction of it, so that it points in the opposite direction of one local axis (Z for example). Without losing the parent or it´s own direction in space.
transform.localRotation = Quaternion.... Z * -1
Is there more than one way to do this?
Probably by rotating in Y 180°? I wish not to scale Y to -1.
transform.rotation = new Quaternion.AngleAxis(Vector3.up, 180f);