Draggable Doors Amnesia/Phasmophobia Style

I tried to follow a blueprint tutorial from youtube Matt Aspland but the blueprint came with some massive issues like the door moving too fast and getting stuck when reversing the direction, and the comments also mentioned this wouldn’t really work with multiple doors. I would also like to know if its possible to still have a lock system in place with these door mechanics.

You need to be more specific, no one wants to watch a tutorial and guess what’s wrong with your code.

My apologies, im extremely new to unreal and not entirely sure the best way to share my blueprint’s code. Hopefully this is a acceptable way to share it, this is the blueprint for my door, if you still need more let me know. Dragable Doors posted by anonymous | blueprintUE | PasteBin For Unreal Engine 4

You can upload a screenshot right to the post.
First of all, you need to learn how to debug your code. If you want to check values - use the print node to see what goes on. In such cases use debug nodes like draw debug … (line, sphere, etc)
You can find a lot of good guides on each small thing like that WTF Is? Draw Debug Line in Unreal Engine 4 ( UE4 ) - YouTube
Try to draw debug and check if this line trace goes in the right direction, does this line trace has enough length to reach the door, and so on. Also, the line trace itself has visualization, use it and check if it goes through the door or not.

In general, I don’t recommend copy/paste large tutorials, at least not for a long time. It teaches almost nothing

Alright I can see that the line trace is in range and passes through the door. I’m still not sure why it gets stuck and speeds up when turning it in the opposite direction. I’m definably starting to understand why blindly following a tutorial is a big issue and bad habit to build, but not entirely sure where else i would start when i have a certain mechanic in mind, i want to use.

Missed all the other stuff in your link.
As I see you made a lot of mess :slightly_smiling_face: try to make your BPs readable, it helps a lot. Crazy spaghetti is hard to read even for the person who made them.
Something wrong here, you literally do the same (-1 and -1*1=-1)

You can start with some of these guides, but the sooner you start working on your own, the sooner you will get real experience.

Ah this actually made me look back at it and i found where the issue was. Just to the left of that i forgot to change the value of a * float to -1 and not it works perfectly.

Spaghetti is honestly a bad habit that i tend to bring with me everywhere, i will try my best to fix it. Thanks for the help.