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.
Determining swing direction, part 2 - Unreal Engine Tutorial
From the course: Unreal Engine Blueprint Interaction for ArchViz Projects
Determining swing direction, part 2
- [Instructor] Time now to finish up our doors swing direction and hopefully add a little more clarity regarding how we are calculating this using the nodes that we have. And before we talk about things in a little more depth though, let's just go ahead and put our dot product to use. We can do this by dragging out a reference of the dots underscore prod variable choosing the get option when prompted and then from the dot product node, clicking and dragging so as to search fine add the greater than or equal to maths check node and dragging from its output, we can add a select float node and then make sure that the condition input is hooked up correctly to our maths test node. And we also want to make sure the value for the test is set to zero. We are doing this so as to determine which way the door will swing which we can understand based on the dot product meaning now would probably be a good time to add a little…
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.