Mirror Enemy, copy move from the character
I want to make an enemy which is copying the movement from the main character, like a mirror version of himself.
So basically, if I'm moving right, the character to move right as well, and so on, on a FPS project.
Thank you very much
asked Mar 19 '18 at 04:50 PM in Using UE4
So, let's see.
You have the player and you have an enemy.
1 - give the enemy the same animation BP as the player
2 - copy all the logic in the player's input events to the enemy (moveup, moveright, fire, ...)
3 - replace all the the input events in the enemy by custom events:
4 - in the player BP, get the reference to the enemy in question:
5 - also in the player BP, add the necessary logic to sent the same input commands to the enemy:
6 - the end. Result:
answered Apr 03 '18 at 05:44 PM
Hello sir, thank's a lot, one thing that I cannot understand is the 4th step.
So, the "BP mirror" is the char mirror, but where is that "send" going after that in the events?
answered Apr 03 '18 at 06:23 PM
My question is , that , set mirror character where is going after that, in the events?
To the move right/move left?
answered Apr 03 '18 at 06:56 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here