Modding:ModQuaternion: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

4 April 2024

27 March 2024

  • curprev 17:5917:59, 27 March 2024Frans fbg talk contribs 627 bytes +627 Created page with "Category:Modding {{Stub}} == Working with ModQuaternion == You can do spherical interporation between two quaternions for smooth movement between rotations using tm.quaternion.Slerp(firstQuaternion, secondQuaternion, t) === Creating Quaternions === There are various ways you can create quaternions <syntaxhighlight lang="lua"> --- quaternion components (float) tm.quaternion.Create(x, y, z, w) --- x (float), y (float), z (float) eulerAngles tm.quaternion.Create(x,..."