Hello guys!
I really wanted to know two things to make my enemy move.
I have managed to have the player’s position thanks to the help of some users.
Now I need to know how to make the character that contains the c ++ move it to x position.
In the enemy’s c ++ I have a function that is getPlayerPosition () that matches the variable “FVector MyCharacterPosition” to the player’s position.
Now I want to create a function to make the enemy follow him.
How can I make the enemy follow him and at the same time rotate him so that he always looks at him from c ++?
Thank you!