Questions tagged [euler-angles]

The Euler angles are three angles introduced by Leonhard Euler to describe the 3D orientation of a rigid body.

The idea of Euler angles is to split the complete rotation of a cartesian coordinate system into three simpler rotations about the axes of this system. Euler angles also represent three composed rotations that move a reference frame to a given referred frame. This is equivalent to saying that any orientation can be achieved by composing three elemental rotations (rotations around a single axis), and also equivalent to saying that any rotation matrix can be decomposed as a product of three elemental rotation matrices.

475 questions
-1
votes
1 answer

Finding the angle a projectile hits a rotated circle

I'm trying to find out which side an entity is hit 46-135 - right side 136-225 - back side 226-315 - left side 316-360 and 0-45 - front side https://i.ibb.co/hKz5n9z/Help.png (Can't post images but this is what i want) I know the angle the entity is…
-1
votes
1 answer

Single Matrix outcome of 'eul' function in a 'for' loop

i am trying to run a 'for' loop that generates N number of 'Euler angle' matrices, by randomly selecting angles each loop, and then transform the 'Euler angle' to 'rotation angle' 3x3 matrix. my problem is that at the end my outcome seems to be only…
MJac
  • 1
  • 1
-1
votes
3 answers

"Largest product in a series" Python code

After converting a string into an array, I really don't know why this isn't working... Can you explain what's my error, please? Find the thirteen adjacent digits in the 1000-digit number that have the greatest product. What is the value of this…
user8831891
-1
votes
1 answer

Oculus rift, quaternion and euler, how to increase range

I have access to rotation degrees from oculus. Quanterion to Euler, Euler to degrees. Range of pitch, roll and yaw is from -90 to 90. Is there any way to increase range -180 to 180? I know that can't use arcus functions, because it has ranges from…
Paul10220
  • 21
  • 3
-1
votes
1 answer

Trying to rotate on Y axis resulting in odd motion

Alright, so I've made a basic program that, so far, just makes a point in 3d space, renders it to a 2d screen, and rotates the camera. Rotating on the Z axis works just fine, on the X axis works basically fine, but the motion speeds up as the point…
user2649681
  • 750
  • 1
  • 6
  • 23
-2
votes
1 answer

Unity C# - Child rotation and position disconnect

My camera is a child object of an empty gameobject, that I wish to rotate. The camera is a few units out of the center, so that it can rotate around objects placed in the same place as the empty game object. Standard fare, I am sure. However, when I…
-2
votes
1 answer

Find the angle of rotation from the centre

I have calculated the yaw,pitch and roll of the head from euler angles as follows in my code. eulerangles = rotationMatrixToEulerAngles(rotation_matrix) yaw = eulerangles[1] pitch = eulerangles[0] roll = eulerangles[2] How do I use these values to…
user3600801
-2
votes
1 answer

Three.js Coordinate system confusing

I have a basic question regarding coordinate system in Three.js. I have a spherical geometry of radius 500 and a camera placed at (0,0,0). I am using raycasting to find the intersection on the spherical surface. I can see in the intersect object…
TA-
  • 63
  • 5
-2
votes
1 answer

Quaternion to euler angles and euler angles to quaternion in C

I have been writing this code for checking the euler angles and quaternions, but it is not run correcly (or maybe I do not understand the rotations): #include #include #define DR2D (180 / M_PI) #define DD2R (M_PI / 180) int…
tres.14159
  • 850
  • 1
  • 16
  • 26
-3
votes
2 answers

Python: euler circuit and euler path

I've got this code in Python. The user writes graph's adjency list and gets the information if the graph has an euler circuit, euler path or isn't eulerian. Everything worked just fine until I wrote this at the end: ln1 = [1, 2, 1, 6, 2, 3, 3,…
Matthew
  • 67
  • 1
  • 9
1 2 3
31
32