Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

StarGamer_Nick

Dot product of a rotating vector

This topic is 5795 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I''m trying to find an equation to find at what moment T a moving point will colide with a rotating plan P. I''m thinking of using the dot product between the Normal Vector of that plan and the distance between the moving point and a fixed point located on the plan. This give me the following equation: Mp = Moving Point = Xx + Yy + Zz + VxT + VyT + VzT Fp = Fixed Point. = Yy (not moving, located on the rotating axis) Rv or n = Rotating Normal = Cos(WT + Phi)x + Sin (WT + Phi)z + Yy W = Angular velocity Phi = Angular position at moment 0. F = ((Yfp - Ymp)+ VyT)*Yn + ((-Zmp + VzT)*Sin(WT + PHI)) + ((Xfp - Xmp) + VxT)*Cos (WT + PHI)) Can anyone help me resolve that equation ??? Thanks. Nick

Share this post


Link to post
Share on other sites
Advertisement
Take a differant approach. Your velocity can be split into a components orthogonal and parallel to the normal. So basically you are going to hit the plane when the magnitude of the component parallel times the time equals the current distance from the plane. So to find the time divide the distance from the plane by the magnitude of the component parallel.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!