Skip to main content
Question

3D Rotator usage clarification

  • January 29, 2020
  • 2 replies
  • 73 views

Forum|alt.badge.img

I have an axis-aligned sphere and a plane that's rotated. Both have the same origin point. I want to rotate the sphere using the plane's RPY (in degree) attributes using the 3D Rotator, with Origin XYZ equaling the plane's XYZ, and the Direction XYZ = plane PRY. The rotation (for which I use the plane's R) works, but neither in the right direction or by the right amount. I tried switching the values around but so far I can't get it to work. Here's an illustration (current / goal):

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 1637 replies
  • January 29, 2020

Hi @clickingbuttons,

The simplest way to do this is to use 3 3D Rotators, one for each of the rotation values. The yaw rotation is around the Z axis, pitch around Y and roll around the X. The order of the rotations are important, and should match the order used to rotate the plane.


Forum|alt.badge.img

Hi @clickingbuttons,

The simplest way to do this is to use 3 3D Rotators, one for each of the rotation values. The yaw rotation is around the Z axis, pitch around Y and roll around the X. The order of the rotations are important, and should match the order used to rotate the plane.

You mean using the "Rotate Along" X/Y/Z? Since I don't know the plane's rotation order I just tried to bruteforce, but alas, they all end up at the bottom.