Course: Building a Block Based Game

Hi @uniwang!

Thanks for your feedback, explanation, and code!

This may have not been in the video (I’ll have to go back and look), but I believe using the “Shortest Path” setting on the Lerp (Rotator) node in the timeline accomplishes this as well. Here is the code I have in my project:

EDIT: Just looked at the video, the “Shortest Path” check box is NOT checked in the RotateTimeline - it should be. As you noticed, it still works, but the character might rotate the long way around in certain circumstances. Thank you again for posting your solution!

1 Like