RockhurstPike opened this issue on Mar 18, 2003 ยท 14 posts
RockhurstPike posted Tue, 18 March 2003 at 11:06 AM
Ok, here's the deal. I am animating a sphere, and, of course, it is really easy to determine the appropriate amount of rotation when travelling along the x or y axis only: (Distance / Circumference) * 360 My problem is determining it for an angular translation. If the sphere is moved from, say, (0,0) to (3,5) [x,z coords], then the distance travelled is ~5.8 units, requiring a rotation in the direction of that vector... Poser does not allow for rotations along an axis perpendicular to that vector, only x,y,z! So I'm stuck. I'm trying to complete a Python script to automate it, so all I have to do is translate and the script will rotate the sphere automatically. Can someone help with devising an equation to determine the amount of rotation required? I would be forever in your debt!! Thanks! -RP