Page 1 of 1

2D NPC faces player when conversing

Posted: Sun May 14, 2023 5:10 am
by byronsaniry
Can you help me let my NPCs face the player when conversing? Only for 2D Unity. Thank you

Re: 2D NPC faces player when conversing

Posted: Sun May 14, 2023 9:01 am
by Tony Li
Hi,

Please see here for an explanation of why there's not a single answer for this question: How To: Make NPC Face Player in 2D

If you describe how your NPC character faces different directions, I can provide a suggestion on how to make the NPC face the player.

Re: 2D NPC faces player when conversing

Posted: Mon May 15, 2023 7:12 am
by byronsaniry
Just a left and right facing for this one

Re: 2D NPC faces player when conversing

Posted: Mon May 15, 2023 8:35 am
by Tony Li
Please read the link in my previous reply. It'll help us determine what you need to do. Based on that article, let me know whether the character faces left/right using Scale > X, or using SpriteRenderer > Flip X, or something else.