Linked Questions

1 vote
2 answers
6k views

I have a quaternion representing the orientantion of an object (yellow box and sphere). I would like to know if it is possible to split that quaternion into other quaternions that give us the rotation ...
javinair's user avatar
2 votes
1 answer
4k views

I have an object3D which is invisible. I can freely look around by using the webvr-boilerplate. On click, I want to position this object3D in front of the camera, make it visible, but at a certain y ...
Chris C's user avatar
  • 35
2 votes
3 answers
2k views

I've a rotation represented as a quaternion and am trying to constrain the pitch, yaw, & roll axes. I tried doing so thusly: public struct Orientation { public Vector3 up, forward; ...
Tannz0rz's user avatar
  • 140
1 vote
3 answers
3k views

I've been trying to figure out the 2D rotation value as seen from orthographic "top" view for a 3D object with XYZ rotation values in Maya. Maybe another way to ask this could be: I want to ...
Meatball Pie's user avatar
1 vote
1 answer
2k views

In my animate() function I have the following code: if (this.controls.forward) { // move in direction we look at var cameraDirectionVector = new THREE.Vector3(0, 0, -1); ...
Chris C's user avatar
  • 35
1 vote
2 answers
3k views

I am really struggeling to find the correct way to get the rotation angle around a single axis from an arbitrary quaternion. So other words I want to find the portion of the expressed rotation around ...
languitar's user avatar
  • 6,834
2 votes
1 answer
2k views

I can't comment other posts yet. ShawnFeatherly in this post wrote: Here's a way to get the local rotation of just the y-axis. This function can be modified to get the x or z-axis. /// <summary&...
m5willmax's user avatar
0 votes
1 answer
1k views

I would like to find a solution for taking a rotation represented as a matrix and then resetting one of it's components. Basically I want to be able to multiply a vector by this matrix and get a ...
user2826084's user avatar
0 votes
0 answers
1k views

I am attempting to disallow rotations around the y axis as is implemented in the 360 video here: at https://www.omnivirt.com/ on a mobile device. If you look on your mobile device and tilt the phone ...
user3799235's user avatar
0 votes
2 answers
1k views

I have a quaternion, q, and I need to determine if it is rotated beyond a certain number of degrees past level in both the X/Y axes. Any easy shortcut would obviously be to convert the quat to x/y/z ...
chris12892's user avatar
  • 1,644
0 votes
0 answers
1k views

Hi I have an arbitrary rotation quaternion, which is constructed from a series of operations done by the user (they select the object, rotate it around the plane constructed from the camera view ...
LynchDev's user avatar
  • 813
0 votes
1 answer
923 views

i'm working in a AR application in android with the Epson Moverio BT-200. I have a quaternion that change his values with my sensor fusion algorithm. In my application i'm trying to move a 2D item ...
Federico Marinelli's user avatar
0 votes
0 answers
799 views

For example, to subtract out the component of a vector a along unit vector b, you just take the dot product of a and b and multiply by the vector b. Then you just subtract a•b*b from a to take out ...
SwiftMatt's user avatar
  • 1,029
0 votes
1 answer
284 views

I came to a situation on getting Tibia angles from an IMU. The sensor is giving me quaternions and also Euler Angles (order XYZ). I need to know based on a reference plane, the Z angle on plane XZ (...
ds16's user avatar
  • 3