Rotating an object

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? :slight_smile:

~Mikkelet

You can use code like this:-

transform.rotation = Quaternion.LookRotation(-transform.forward);