Hi all, first time poster and here to try and learn. I have been using Unreal since last summer and whilst generally I can create an environment I am trying to follow tutorials from here and youtube to make them more interactive.
I have searched and can’t find a fix - despite trying a few that will stop my sliding door slightly moving position from where it is placed in the viewer. I have moved the pivot point to a corner, I have enabled CCD, I added a simple box collider but nothing seems to work. Any help appreciated. I have a video, but it won’t let me upload so here is a link to my youtube.
You need to save the door’s relative location before the timeline to a variable. Then get the variables value inside of the timeline (during update and add the float to the specific axis you are animating).
Otherwise you are in a way resetting the doors position if you do not feed it’s start offset to the transform.
The start location is a vector. You can drag it out in to the event manager once it is created and the right click its output and split it into it’s X,Y,Z components.
Here is a simplified version of the project. You can copy over the door.uasset into your project if you want to DoorProject.zip (67.3 KB)
Hey dude, sorry for the late reply. Work and holidays. I tried the fix and found the necessary code but it still didn’t work. I even tried to copy your asset but there was an error that I didn’t know how to fix.
But, I decided to make a new level, use the original code that I tried and it worked. I reopened my level and it worked. FML. XD
Anyway, appreciate you taking time out to reply to try and help. <3