• Advertisement

Archived

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

D3D Matrix Math question (how would i do this)

This topic is 6519 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

ok here is my question vertex A needs to rotate around Vertex B baised on B''s Orientation or in other words Vertex A is at a Fixed distance away from B, Vertex A needs to be at the right spot where if you draw a line with the orientation of B it goes through both verteces. eh I hope that came out clear ): can anyone help me with this? cheers! Kenny

Share this post


Link to post
Share on other sites
Advertisement
i may not have understood the question correctly, so bear with me...

this could be represented by two rotations around axes that are both perpendicular to B''s orientation vector.

an easier way is just to calculate the distance between A and B originally, then project A onto B''s vector.
i''m pretty sure this is done by just multiplying each component of B''s UNIT orientation vector by the distance.

good luck!


crazy166
some people think i'm crazy, some people know it

Share this post


Link to post
Share on other sites

  • Advertisement