How can I make the back of the object face the player?
heres my script,
public class RotateAtCharacter : MonoBehaviour {
public Transform player;
private void Update()
{
transform.LookAt(player);
}
}
I have transform.LookAt but for some reason the object is backwards so I was wondering if any of you people know how to fix that and make it so the back is facing the player, Thanks!
what about the object is backwards? what is the object facing the character.
$$anonymous$$aybe njwerner16 want's a "LookAway"?
I now someone who needs "YourOtherLeft".
A little Unity humor...little, I know.
@JVene I think thats what I need but it says that isn't even a code I can do.
Your answer
Follow this Question
Related Questions
Save/Load Player System 0 Answers
Player not moving in the right direction instantly 1 Answer
How do i ajust the player height acording to the height of the roof in a first person game? 1 Answer
There is a problem with my script... 0 Answers
Get player and enemy hit bars to respond to each others attack not their own 1 Answer