Linked Questions
15 questions linked to/from Is Quaternion math really practical knowledge for a graphics programmer?
26
votes
2
answers
6k
views
Using Quaternions: What can I do with them? (without the maths)
I am a Game Developer and did not study Mathematics. So I only want to use Quaternions as a tool. And to be able to work with 3D rotation, it's necessary to use Quaternions (Or Matrixes, but let's ...
6
votes
2
answers
8k
views
Switch axes and handedness of a quaternion?
I have a quaternion, coming from a system with the following:(intertial sensor)
...
3
votes
1
answer
13k
views
Converting a quaternion in a right to left handed coordinate system [duplicate]
I have a quaternion from an IMU that id like to represent in unity. The issue is that the sensor uses a right handed coordinate system while unity uses a left handed coordinate system. In order to ...
4
votes
2
answers
8k
views
Quaternion Rotation - Clockwise or Counter-Clockwise?
when we specify a Quaternion as (axis of rotation, rotation amount), in which 'direction' is the rotation, assuming we are looking down the rotation axis (i.e. ...
3
votes
4
answers
3k
views
Calculate average of arbitrary amount of quaternions (recursion)
Simply calculate the average for 2 Quaternions should work like follows right? :
...
3
votes
1
answer
5k
views
Euler (right-handed) to Quaternion (left-handed) conversion in Unity
I'm having trouble figuring out the proper conversions from Euler angles to Quaternions. The Eulers come from BVH files, which use a right-handed coordinate system (Y is up, Z is forward) and can have ...
2
votes
1
answer
659
views
LookRotation function for Z-up, right handed system
I am rendering graphics myself using OpenGL, therefore I need to implement math library myself. I am looking for function Quaternion::LookRotation(forward, up), ...
1
vote
1
answer
662
views
How to access rotation-Z value in script?
My script(MouseLookController) is attached to a GameObject and I want to limit it's rotation between 90deg and -90deg.(Rotation is 40 deg in example image)
Problem is I can't access this value to ...
0
votes
1
answer
802
views
How to make a capsule Rigidbody player "kick" a Rigidbody sphere (ball) in Unity?
I am just learning the basics of physics simulation with rigidbodies. I am trying to simulate some basic real world functions like kicking a ball.
Let's say I have a simple capsule mesh/collider as my ...
0
votes
1
answer
492
views
360 degree Shooting using Pythagoras problem Unity 2D C#
I have used pythagoras to give the bullet a velocity in the bullet class. Velocity is applied when Instantiated();
...
0
votes
1
answer
419
views
Character rotation jitters when looking around
I want my character to walk around sphere like a planet, so in my script I rotate it according to the normal of a raycast and I also rotate my character on the Y axis when I look around with the mouse....
0
votes
1
answer
487
views
Sensor quaternion to Unity conversion [duplicate]
I want to convert rotations given as quaternion from sensors to Unity. The sensors (documentation here) axis are the following ones:
Unity is the following one:
I don't know how to map axis other ...
0
votes
1
answer
298
views
How to properly get the x-axis value among the data of the smartphone's gyro sensor in Unity
I want to load x, y, z data using the IMU sensor of the smartphone.
Input_gyro_attitude_eulerAngles = Input.gyro.attitude.eulerAngles - Offset; // gyro angle
...
0
votes
1
answer
95
views
How do I represent a MD5-mesh bone (quaternion orientation)
Going off this link about the MD5Mesh file format, I see a bone is represented as:
...
0
votes
1
answer
151
views
Quaternion representing rotation from shoulder to hand
I am provided with 3 quaternions. One for the shoulder, one for the elbow, and one for the hand. What I want is to obtain a single quaternion representing the rotation from the shoulder to the hand, ...