Hello! I can't speak English well, so I hope you understand that I use Google Translator.
There are clockwise and counterclockwise ways to find the perpendicular vector, but I want to make the enemy push vertically differently as shown in the picture. In this case, should I compare the enemy's position with the player's position and get all of them separately? For example, using an if statement. help me from your knowledge, thank you.
This is my first question, so I don't know how to upload a picture. Sorry :)