You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quaternions need to be added to the project. I have been struggling for some time behind the maths now and I cannot seem to get it right.
The general gist of what needs to be done:
Quaternions need to be implemented and confirmed working
Matrix need to work with Quaternions
A basic camera script that can show off the Quaternions, with function such as LookAt.
Ideally, quaternions should follow the same paradigms already established with Vectors, with maths and normalize. Additional functions to include are:
Angle - Angle between two rotations
Euler - Rotation in degrees
FromToRotation - Rotation from a direction, to another direction
Inverse - inverse of the rotation
Lerp - Interpolation between quaternions
Slerp - Spherical interpolation
LookRotation - Rotation that points forward at a particular point in space.
The text was updated successfully, but these errors were encountered:
Quaternions need to be added to the project. I have been struggling for some time behind the maths now and I cannot seem to get it right.
The general gist of what needs to be done:
Quaternions need to be implemented and confirmed working
Matrix need to work with Quaternions
A basic camera script that can show off the Quaternions, with function such as
LookAt
.Ideally, quaternions should follow the same paradigms already established with Vectors, with maths and normalize. Additional functions to include are:
forward
at a particular point in space.The text was updated successfully, but these errors were encountered: