Fatih Tkale Fatih Tkale - 1 year ago 74
C# Question

My text get flipped automaticly

So this is my code

public Transform target;
void Update()
if (target != null)

this is suppose to look at the player under any state but some how it get my Text mesh gets fliped
how it looks in unity:


Answer Source

Use this instead of lookAt

transform.rotation = Quaternion.LookRotation(transform.position - target.position);
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download