Skip to main content

Questions tagged [euler-angles]

Euler angles used to represent orientation with 3 angles in a 3D space.

Filter by
Sorted by
Tagged with
1 vote
0 answers
86 views

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 ...
Danilolilo's user avatar
0 votes
2 answers
750 views

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 ...
ZenPyro's user avatar
1 vote
1 answer
2k views

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. ...
sad eggs and ham's user avatar
0 votes
1 answer
259 views

I used the euler->mat4->quat to give the right result, but euler->quat gives the wrong result - is there something I did wrong? ...
Zero Skyline's user avatar
0 votes
0 answers
62 views

I have a class that manipulates a model matrix in opengl: ...
Aziz Hakberdiev's user avatar
0 votes
1 answer
2k views

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 ...
theCodeHermit's user avatar
1 vote
1 answer
1k views

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. ...
Daniel Marques's user avatar
0 votes
1 answer
395 views

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 ...
Mike F's user avatar
  • 103
0 votes
1 answer
558 views

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 ...
Suic's user avatar
  • 119
0 votes
0 answers
434 views

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 ...
gunza's user avatar
  • 13
0 votes
1 answer
495 views

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....
Samuel Fyckes's user avatar
0 votes
0 answers
234 views

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 ...
Ietpt123's user avatar
0 votes
1 answer
105 views

How do you get the Euler Angles of Euler Angles of Any Great Circle that surrounds the raycast hit.point of a sphere?
ina's user avatar
  • 294
0 votes
0 answers
115 views

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 ...
Serket's user avatar
  • 101
-1 votes
1 answer
267 views

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 ...
zeng's user avatar
  • 1
0 votes
0 answers
165 views

I have a list of rotations (on a cube in 3d space with the y-Axis pointing upwards, x-Axis pointing righthand and z-Axis pointing towards you) for example +90 deg around x-Axis followed by +90 deg ...
Jan's user avatar
  • 1
0 votes
1 answer
422 views

I have a system where objects can be connected to each other - as the parent rotates the child objects will rotate too and child objects themself can rotate too. The system is already working, however,...
Chryfi's user avatar
  • 115
0 votes
0 answers
411 views

For a 3d game i need a function to rotate an euler representation around an arbitary axis by an angle. For example an object is rotated with euler angles (0,90,0). Now the object should be rotated by ...
Marion Piloo's user avatar
0 votes
1 answer
2k views

I'm trying to create script that rotates object in given axis by set amount of degrees. That's my 2 core methods ...
Solipsis's user avatar
3 votes
1 answer
2k views

I'm writing a camera which needs to change a quaternion to Euler angles than change them back, it only works when the yaw is less than 90 degrees, I wrote a example to check: ...
ravenisadesk's user avatar
2 votes
1 answer
3k views

I am trying to convert the orientation of an OpenVR controller that I have stored as a glm::vec3 of Euler angles into a ...
Vittorio Romeo's user avatar
0 votes
0 answers
45 views

I didn't tough i would have issues with this, but unfortunatly I did. I have a Character (which is more a pile of cube) with a body, a empty GameObject for each leg attached to the body with a join ...
Samuel Fyckes's user avatar
0 votes
1 answer
13k views

I have the code below that takes a set of yaw, pitch, and roll rotation angles (in degrees), and populates forward, right, and up basis vectors to express this rotated orientation as a Cartesian ...
DOLBOEB's user avatar
  • 21
0 votes
1 answer
3k views

I'm want to control the direction my camera looks, so I'm using Euler angles, so rotating around an axis is relative to rotation around previous axis. Something like this. I want to always rotate ...
Atul's user avatar
  • 101
0 votes
1 answer
525 views

I have used pythagoras to give the bullet a velocity in the bullet class. Velocity is applied when Instantiated(); ...
Lonchenzo's user avatar
0 votes
1 answer
1k views

I'm trying to develop a script that detects if an object's angles are tilting too much. I am new to Unity, and I am sure this is not the best way to test an object's angles, but I am trying to learn ...
loverman's user avatar
0 votes
1 answer
284 views

I have a GameObject in Unity and I need to change its X and Z rotation without doing anything with the Y, as that would mess up everything. Note that this sets the Y rotation to 0 and I don't want ...
Aditya Chandra's user avatar
0 votes
1 answer
393 views

I have a theodolite-like device that is trying to track a point such that it's "Forward" is always facing that point. Here is a GIF of it working as of now. As expected, when the value of the Red ...
falordphil's user avatar
1 vote
0 answers
80 views

I'm animating a 3D human model using playcanvas game engine according to the quaternion data provided by IMU sensors. How can I limit the movements of the limbs of the human model to avoid unrealistic ...
wageesha's user avatar
2 votes
2 answers
2k views

I need to find a way to set min and max angles for each Euler component and check whether transform.localEulerAngles falls within those limits. My current code ...
Thomas Hilbert's user avatar
2 votes
0 answers
758 views

I read in many sources about using quaternion to avoid gimbal lock but I can't apply this practically in my code, so I have a camera class I want to rotate it with mouse so I have Euler angles Pitch ...
Mohamed's user avatar
  • 141
0 votes
2 answers
1k views

In every tutorial for implementing a camera in OpenGL, the front vector is calculated with something like this : ...
EnhancedElegance's user avatar
0 votes
0 answers
62 views

Question: For research purposes, I'm trying to lock the global camera yaw in VR -- though, the "how" is more of a 3D math question and has little to do with VR. The user is in control of the ...
Drew's user avatar
  • 176
0 votes
2 answers
2k views

I've looked around for hours and I simply don't get it. I am the first to admit I am severely lacking in mathematics. So please, keep it simple. I am trying to get a vectors rotation (angle) around ...
Cadde's user avatar
  • 129
1 vote
2 answers
670 views

When I see any video that explains how gimbal lock occurs, they explain it using a gimbal machine and I totally understand the effect on that machine. What I don't understand is how Euler angles are ...
Narek's user avatar
  • 1,337