|Dec8-10, 11:38 AM||#1|
Finding the 3 Rotation Angles of an Object relative to another point.
I have a weird problem I can't seem to figure out.
I am creating a 3D project;
In the project I am creating a Sphere of Radius r at Origin(0,0,0)
Then I am finding x number of points around the sphere that are equal distance apart; that is if I parameterize 6 points it will be 6 vectors returned at each axis both negative and positive. In most cases the number is like 11 or 12 the function I am using is the "Hypercube Rejection Method"
At each of these points, I am placing a "cone" which is oriented along the X-axis the points determine the center of the cone mesh.
I want to point the cone towards the origin.
How do I find the Angles of Rotation on all 3 axis per cone since they will all vary from their orientation of 90 Degrees off the X-Axis(yaw), 0 Degree off the Y-Axis(pitch) and 0 Degrees off the Z-Axis(roll).
The problem isn't a LookAt problem; it's a Pitch,Yaw, Roll degree calculation; based off of the origin and the center points of the meshes.
|Similar Threads for: Finding the 3 Rotation Angles of an Object relative to another point.|
|how do u convert relative angle to absolute angles?||Introductory Physics Homework||4|
|Euler angles of rotation about x=y=z||Differential Geometry||1|
|Adding angles of rotation||Introductory Physics Homework||2|
|Relative Velocities with angles||Introductory Physics Homework||1|
|Rotation Angles for 3D Vector||General Math||2|