hey there,
How do I in C# rotate an object 180 degrees, so my character does a turn-around an runs in the opposite direction?
~Mikkelet
hey there,
How do I in C# rotate an object 180 degrees, so my character does a turn-around an runs in the opposite direction?
~Mikkelet
You can use code like this:-
transform.rotation = Quaternion.LookRotation(-transform.forward);