Рет қаралды 504
This video gives an explanation of Godot's Transform3D and Basis types. It shows how they are actually 3x4 and 3x3 matrices under the hood, and gives an introductory explanation of matrix math.
Rotation matrix visualization web demo I used in the video: majikayogames.github.io/rotat...
Godot Transform3D documentation: docs.godotengine.org/en/stabl...
Contents of this video:
0:00 - Intro
0:15 - Using transform.basis for character movement
1:42 - What is a Transform3D?
3:18 - Using transform.inverse()
5:53 - Basis explanation & visualization
9:00 - Transform3D is a 3x4 matrix
11:05 - Refresher on Vectors
12:36 - 2D basis visualization
18:56 - 3D basis & transforms
23:29 - Outro