Door Closing

Instead of copying the open door function, I created an OpenYaw that gets set on begin play. After stepping off the trigger I set TargetYaw = InitialYaw, when stepping back onto the trigger set TargetYaw = OpenYaw.

To change the speed of the closing door, i created a float variable(DMultiplier) and then in the function multiplied DeltaTime by the DMultiplier.

2 Likes

Nice job man!

Privacy & Terms