Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I have the coordinates of a centre point . I also have an array called the asteroid normal which I assume is the relative rotation of the axis (its 3 numbers between zero and one).

How can I make an object revolve around this object? I haven't been able to find how to do it.

To be more precise , I want to have a movement of 4deg/sec at a 0.3 radius.

What would be an easy formula to use?

I can use centerX , centerY , centerZ and normalX , normalY , normalZ.

I can use vector calculations like substract , cross , etc.

Is this possible?

share|improve this question
You've seen Rodrigues's rotation formula, haven't you? –  J. M. Nov 5 '11 at 13:26
I am trying to use it right now. quick question : when multiplying a vector by cos(angle) , i need to multiply x,y,z (aka every element in the vector) by it right? Also will the result be a vector? I need to get a position using the center and radius and angle. –  user939165 Nov 5 '11 at 13:57
It's componentwise, sure. –  J. M. Nov 5 '11 at 14:00
@J.M. I have run into even more basic problems. I have an the center coordonates and a normal(3 numbers between 0 and 1) which I assume is the relative rotation. So , k is the center coordonates* the normal? Or am I wrong? And v is the position of the object to move right? –  user939165 Nov 5 '11 at 14:10
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.