Get the entity that the player is facing
How can I get the entity the player is facing? Like if the player is looking at a wall,i can get the wall.
What do you mean?
Do you mean the ability to know where the player is looking at?
You can use RayCast or similar functionality in Unity to do this. An example is in my Hide & Seek plugin as well as the Robbery one.
In response to Wulf ():
You can use RayCast or similar functionality in Unity to do this. An example is in my Hide & See...
Alright,I'll take a look at it.