From the course: Unreal Engine Blueprint Interaction for ArchViz Projects
Unlock the full course today
Join today to access over 24,200 courses taught by industry experts.
Animating the swing action - Unreal Engine Tutorial
From the course: Unreal Engine Blueprint Interaction for ArchViz Projects
Animating the swing action
- [Instructor] Time now to get our door animated, which we could have done in a DCC application, of course, and then exported it as a bone-based animation, which could then be triggered inside unreal. But this is only a single axis animation, we might as well do it all inside our Blueprint, seeing as more that way we can make changes to the timing, speed and even rotation angle quite easily should we need to. From the new custom event that we created in our last video, then let's drag out, an add a branch node. This allowing goes to perform a simple true or false test. Let's then create what it is that we want to test by right clicking the condition variable input on the branch node, and then promoting it to a variable, calling it door_closed. Also making sure that it is set as a Boolean type, we can then compile and make sure that its default state, is set as true, given that we will always want the door to start in the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.