Archived

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

D3D Matrix Math question (how would i do this)

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

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 on other sites
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

1. 1
2. 2
Rutin
19
3. 3
4. 4
5. 5

• 9
• 9
• 9
• 14
• 12
• Forum Statistics

• Total Topics
633301
• Total Posts
3011268
• Who's Online (See full list)

There are no registered users currently online

×