Questions tagged [euler-angles]
Euler angles used to represent orientation with 3 angles in a 3D space.
35 questions
1
vote
0
answers
86
views
Quaternion.Euler acting weird
so I'm building up a simple arcade racing game and I was messing around with the Wheel Colliders setup. I was wondering if it was possible to add some camber adjustments in real time depending on the ...
0
votes
2
answers
752
views
Why are Quaternions better than Euler-Angles for Godot (when to use which)?
Sorry about the click-bait, I know there are many many reasons why Quaternions and Bases are better than using Euler-Angles. Anyone on a 5 second google search could easily know why!
But I am trying ...
1
vote
1
answer
2k
views
How to clamp rotation on a specific axis?
I want to rotate an object based on mouse delta but I am unable to clamp it because I only want it to turn so far on a specific axis.
...
0
votes
1
answer
259
views
glm::eulerAngles gives unexpected output for quaternion
I used the euler->mat4->quat to give the right result, but euler->quat gives the wrong result - is there something I did wrong?
...
0
votes
0
answers
62
views
How to calculate angles after subsequent rotations?
I have a class that manipulates a model matrix in opengl:
...
0
votes
1
answer
2k
views
Get object rotation around the x axis
I have an object which can be rotated at 0, 90, 180, 270 degrees.
I am using this to get the rotation data:
transform.eulerAngles.x
However that code keeps ...
1
vote
1
answer
1k
views
Applying incremental rotation with quaternions: flickering or hesitating
I'm having a couple of problems while rotating an object every frame with GLM.
First problem
I'm trying to rotate the object with a small increase using quaternion multiplication.
...
0
votes
1
answer
395
views
NVidia Physx get yaw pitch roll from rigid body orientation
I am using NVidia PhysX in the game that I'm developing and I stumbled upon a math problem. I need to retrieve Yaw, Pitch and Roll from the orientation quaternion stored in the rigid body of some ...
0
votes
1
answer
558
views
Quaternions and Euler Angles
I have made a simple animation in blender where the object(Bone in this case) is rotated from 0 to 360 degrees within 40 keyframes
I then exported that data(Each keyframe) to glTF which stores the ...
0
votes
0
answers
434
views
How can I make the character rotate slowly with the joystick?
I am using two Joysticks. One for the character's movement and rotation and the other for the character's rotation and shooting.
On the joystick I use for movement and rotation, the character turns ...
0
votes
1
answer
495
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
0
answers
234
views
How to calculate local orientation of child relative to parent from only global positions?
I am trying visualize a human finger's pose with a 3D model in Three.js.
The 3D model is composed of 3 bones that represent the proximal, middle, and distal bones of the human finger, connected in ...
0
votes
1
answer
105
views
Euler Angles of Any Great Circle from hit.point of a sphere
How do you get the Euler Angles of Euler Angles of Any Great Circle that surrounds the raycast hit.point of a sphere?
0
votes
0
answers
115
views
Get direction vector of camera in voxel game
I am currently working on a Minecraft clone (a voxel game). The feature I'm working on is the ability to break blocks. I have a ray-casting/ray tracing algorithm for traversing the voxels, but the ...
-1
votes
1
answer
267
views
What is the relationship between gimbals and Euler angles?
Through reading a lot of articles, I understand what gimbals are (at least I think so). And I know that Euler angles follow the rules of gimbals, but why?
Why do Euler angles comply with the rules of ...