- Home /
How to make an enemy always face the player.?
I have provided a screenshot to demonstrate.
I actually want to make that....
when I jump that side of green monster ......
the monster should face the player and attack it....
and when I jump back again to previous side of monster....
monster should again face him.....
How can I make this to happen?
Answer by DanRigg11 · Aug 27, 2015 at 09:36 AM
i think you would have to change the Sprite when the frog attack is true maybe... that is how most 2D games are done.
Your answer
![](https://koobas.hobune.stream/wayback/20220612001056im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Can't jump on terrain at specific angle 0 Answers
Raycast Will Only Hit Target If Jumping Over Object Firing Raycast 1 Answer
Set Quaternion to another Quaternion, but oriented along 1 Answer
Object jumps through roof when holding "Up" button? 1 Answer
How does LookRotation work in relation to ray cast? 1 Answer