Animating the Door

Posted by Josiah Purtlebaugh on Sunday, August 23, 2020

Summary of accomplishment:

  • Animated the door
  • Allowed the door to open/close on player click

Today my mission was the animate the door so I can begin creating slightly more complex environments with dynamic pathing. The blueprints are very simple; essentially, the click event was as simple as adding an On Clicked event to the door with a Flip/Flop setting the rotation to either -90 (around Z) or 0. In order to animate it, I added a Timeline in between and scaled a float from 0 to 1 over 0.5 seconds, and multiplied that by the degree of rotation.

Door Blueprint