Category "quaternions"

How to freeze rotation in the z & y axes directions? Unity3D

I have a platform that can swing on a wide cylinder if objects are unevenly distributed on it. To do this, I created a cylinder with a mesh collider, put a plat

Euler to Quaternion / Quaternion to Euler using Eigen

I'm trying to implement a functionality that can convert an Euler angle into an Quaternion and back "YXZ"-convention using Eigen. Later this should be used to l

Moving cannonJS object in 3D according to its quaternion

I would like to achieve a space ship like move on a cannonJS body. (Im really a beginner) I found some examples but none of them are exactly what I'm looking fo

Determining if quarternion rotation is clockwise or counter clockwise

I am using the following code to handle rotating my player model to the position of my mouse. void Update() { // Generate a plane that intersects the trans