Sliding door opens on Global Y-axis only, need to open on Local Y-axis

Hi Everyone,
So I followed a tutorial on Unreal’s Youtube page showing how to make a door blueprint. (- YouTube)

Now here’s what mine looks like:

Now the problem is that it only moves on the global Y-axis whereas I need it to move on it’s Local Y-axis so I can rotate it and place it anywhere and have it work the same. I hope this can be fixed, any help at all is appreciated.
Thanks everyone!
-Jordan

There are several ways to do this.

The first is to make the door a component and use “Add/Set Relative Location” to move it, which will move the door relative to the actor.

The second is to take the actor’s forward/right vector and multiply it by how many units you want to move it, then add it to the actor’s world position.

Hey man, thanks for the help. Sadly it didn’t work.
The first method yielded the same results as before. The second method almost worked however it only moved on the object’s X-axis, heres what my blueprint looked like for the second method:

Am I doing something wrong?
Thanks,
-Jordan

As the docs of Get Forward Vector tells you, returns the X direction of this actor in world space. You want to use Get Actor Right Vector, which returns the Y

Okay so that worked!
However now for the worst part. It isn’t smooth. It ends really sharply, and on top of that it doesnt go backwards. whenever the timeline reverses it just goes in the same direction except faster.
Also it doesnt move in Units, I gave it a value of 1 in the float output however it goes like 200 units. Otherwise it always goes on the y-axis! :smiley: