Hello, I’ve been using Unreal Engine 4, for a little bit now, and I was watching the tutorial series on how to setup a blueprint for 3rd person game. I’m wondering how to setup, an in game animation, such as animating the player to go into a vehicle, or have a character play a certain animation when he approaches an object, such as a door.
This to me would be very important for my game purposes, and if anyone has an idea on where to look, or how you would setup, such a system. that would be awsome.
(This is the nitty gritty detail of the actual situation)
I would like the player to be able to play a certain animation, by pressing a key, when it collides with a door. Also, The player must be oriented right, so that it sets the player in the correct position, to open door. However this is half the problem. Because even if the player presses the button and the animation plays, The character must be in the right place. So that the character reaches and and touches the door, instead of reaching out, and touching the side of the door, or the wrong part of the door.
An example of this in a game is here
at around 2:40, the character approaches a door, and it gives him the option to open it. He presses x, and the player animation is played, and the character is moved to the proper postion, so the animation will play correctly.I’ve seen it in games like halo reach. Where a player approaches a vehicle, and an animation plays, but at the same time the character, is moved into the correct position while the animation plays.