MENU

Fun & Interesting

SLERP (Quaternions)

EgoMoose 54,683 lượt xem 8 years ago
Video Not Working? Fix It Now

So I finally decided to do a video on quaternions and slerping. This is mainly for educational purposes as using the built in lerp method will already slerp the rotation between two cframes.

Here are the links I mentioned throughout the video:

- 2D rotation matrix: http://wiki.roblox.com/index.php?title=2D_Collision_Detection#Prerequisites_to_Method_2:_Corners_of_a_rotated_shape
- Rodrigues' rotation formula: https://www.youtube.com/watch?v=OKr0YCj0BW4
- Rotation matrix to quaternion: http://wiki.roblox.com/index.php?title=Quaternions_for_rotation#Quaternion_from_a_Rotation_Matrix
- Slerp module: https://github.com/EgoMoose/ExampleDump/blob/master/Scripts/slerp.lua

If you have a suggestion please leave a comment as this was my first time making a video like this so for the future your feedback helps!

Thanks for watching!

Comment