I want to create a door that swings out with blueprint but im not sure how to do that:-( thanks
Always start by breaking down the problem.
-
What is a door? First we need to be
able to see it in the world, so it is
safe to say it should be a static mesh. -
We then need to be able to interact
with it. How should the player do
that? Pressing Use when nearby or
looking at the door? -
What happens when we press use on the
door? It should probably rotate.
With this, we know we need to create a Blueprint containing the mesh and which can take an input from the player. Below you will find a forum thread which contains one solution to how to rotate the door depending on where the player currently is with the criteria above.
I believe there’s an example BP in the contents demo