Was working fine before, i did set the doors default rotation to be open and it closes immediately making me think it has something to do with the code not understanding my if statement for door close, also no idea why GetWorld() is causing the error, i can still compile fine and has been working fine regardless of the error up till now. (If you wanted to help with GetWorld() it has an issue with me using -> telling me to use * instead however changing it to * just moves the red line to GetFirstPlayerController().)
Note i put the backslash on line 32 of the CPP file while taking a screenshot, this is not the problem… Im using a tenkeyless keyboard lol
EDIT: I set the CloseDoorDelay to 3 seconds and adjusted the angle before hitting play, the door did take a moment to close so I’m fairly positive that the error is with the trigger and the door. I have confirmed that in the SM_Door’s components the TriggerVolume is set as the pressure plate.
Any help is greatly appreciated!