Hi, all!
I made a simple script that points my enemies at my player, and when I run the game they are always facing directly the wrong way.
Is there any way I can simply invert the rotation?
Thanks! - YA
Hi, all!
I made a simple script that points my enemies at my player, and when I run the game they are always facing directly the wrong way.
Is there any way I can simply invert the rotation?
Thanks! - YA
Try this
LateUpdate(){
transform.LookAt( ship.position );
}