Question: Why does the player sometimes open doors to himself and sometimes away from him?

Does anyone know that it depends whether the player opens a door towards himself or away from him?

I would like to have that he always opens the door away from himself, but with some doors (I haven’t figured out why yet - seems to have something to do with the position of the door) he always opens it towards him

I would assume that the doors are set to open a certain way (+90 degrees for example).

If you open the door +90 degrees from one side, such as hinge is on the right, then the door opens away from the char, but if the door opens +90 with the hinge on the left, then the door opens towards the character.

You’d need to determine the character position from the door and figure out which way to open from there. Opening a default degree value would be static behavior, and wouldn’t change based on character position.

A quick YouTube search resulted in this video: How To Open And Close Doors Away From The Player In Unreal Engine 5 - Beginner Tutorial

I hope this is helpful for you. Good luck!

Thank you for your quick answer. Unfortunately, the video doesn’t help me because I don’t have access to the blueprints of the Fortnite doors…

Otherwise, it doesn’t depend on the position of the player or the hinges - I duplicated a door that the player opened away from himself while testing the map and placed it in another place in the building (without mirroring, only rotated and offset) - there the player always opens the door to himself during testing!

So I suspect that the Fortnite door checks for something and then decides whether to open it in one direction or the other… :thinking: