Update on my jumpscare cue
I’m currently making a survival horror game.
A few days ago, I posted a question on here, asking if anyone knew how to fix the error where when the jumpscare triggers, when the player turns to face the enemy AI, the enemy AI does his jumpscare, but isn’t facing the character, the enemy AI is looking away.
(I fixed this by adding a camera to face the front of the enemy AI when the jumpscare triggers, so now every time the jumpscare starts, the jumpscare will go to the camera for the view, and then the AI does the jumpscare, and move to the game over screen, so the character will be in front of the AI doing his jumpscare)
However, the bug where: if the AI touches the player, nothing happens, still exists.
Every time when the enemy AI reaches my player, instead of starting the jumpscare animation just by touching the player at any angle, instead, the player, has to move to either the enemy AI’s left, or right while still touching him, and then the jumpscare animation triggers. The AI, when it reaches the player, freezes in place, until the player get’s out of it’s sight, if the player moves away a few steps, the AI still is frozen, because of the blueprints I made for it to freeze when it touches the player, because that’s when the jumpscare animation is suppose to start.
Long story short, I want to fix my AI enemy so that if he reaches and touches the player from any angle, the jumpscare animation triggers
Can anyone help?
P.S. This is a horror survival game where instead of taking damage, if the AI reaches your player, you die and have to restart.