Connecting widget button press to rotation of blueprint mesh

Goodday!

I’m quit new to UE4 and I’ve been working on a system where you can choose between several options to open a door.

I’ve got the animation and buttons etc. all working but the only problem I’m encountering is that I’ve no idea how to rotate the door 90° after the animation is over.

How did you setup the animation?
With solid objects like doors etc., the best way to animate them in the engine is to use a timeline and lerp between rotations. In this case it will rotate and stay rotated when the animation is over.

Hello Tuerer!

Thanks for reacting. Do you have any tutorials you would know that explain the basics of what you just told me? As I said I’m pretty new to UE4 and there’s alot I’ve learned but with a lot of stuff I’m still in the dark.

I have my animation setup as following:

It’s playing the animation from the players location and disabling the input so the player can’t move or look around while the animation is playing.

UE4 - Handling Doors with Timelines - YouTube
That’s a basic idea of a timeline. You can drive any parameter you like with it, including rotation axes.

Awesome thanks alot!