How to get the direction of a target (Unity Tutorial)

Опубликовано: 07 Октябрь 2024
на канале: ItsJustOneGuy
295
5

Have you ever wanted to know if an enemy is in back of your character well this is how you do it.

Hey if you like the content please like and subscribe.
And if you want to see a specific tutorial comment down below
Thanks for watching

How to get the direction angle of a target relative to an object. In this example I get the direction of a player and make the AI dodge differently based on where the player is attacking from.

Anyway here are my social please like and sub and all the rest of that social media nonsense and thank you for watching the video. Every view helps.
—---------------------------------------Socials—---------------------------------------------
Instagram
  / itjustoneguy  
Twitter
  / itsjustoneguy  
Email
[email protected]
Facebook
  / itjustoneguy-103618309123081  
YouTube
   / itsjustoneguy  

–----------------------------------------Games I Made—---------------------------------
Some early games I made. Not my best work though lol

Evolve Die Repeat
https://itsjustoneguy.itch.io/evolved...
Mistborn Fan Made Game
https://itsjustoneguy.itch.io/unoffic...