BP Rotate Door question

Hi. I want to know how to rotate the door. I want the door to rotate when the character pushes around the middle axis. Please tell me the solution.

Proposal…

  • Looks like a static mesh. Create a BP actor and place the static mesh in the BP.
  • Then add 4 collision boxes as children to the added static mesh on each “wing” of the door such that when the door moves they move as well.
  • For each collision box add an event for “On Component Begin Overlap”. When this event triggers, call another event called something like “RotateDoorForAwhile”.
  • This RotateDoorForAwhile event could use a timeline to change the “SetRelativeRotation” angle as some rate that you find appealing which in turn will rotate the door.

Yeah???

If possible, could you show me the image? Thank you for your reply.

My proposal with my approximation of your door asset… :stuck_out_tongue_winking_eye:

Well, I don’t understand. If you don’t mind, can I get the file?

I’m really a beginner…

I don’t have a file to share. I have not built a rotating door as you describe; however, the concept is similar to any door with exception that your door is spinning from the center of the door asset while a “traditional” door is spinning on the side with the hinges. In addition, your door will spin at least 360 degrees while a “traditional” door only needs to open say 100 degrees, or so.

Yes, I got it’ Thank you very much for your reply.

I would recommend that you search YouTube for videos that show you how to open a “traditional” door. Get this to work and then move into the spinning door you would like to implement.

Could check out this… UE 4 Minutes TUTORIAL Open Close Door Animation with Blueprint and Trigger Box - YouTube

Thank you for your kindness.

1 Like