Jump to content
  • Advertisement
Sign in to follow this  

rotation angle and matrix

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

I have a beam(a line)that has an orientation matrix and has a section that is a list of 2d geometric point, a profile.
The section is extruded on the direction of the beam.
The section can be rotated around the direction of the beam.

for example rotation of 45 degree of the section on the z axis:
and i extract the third component axis of the matrix with a cross product

or on the x axis

and cross product

but if the beam has a direction of 45 degree and the section is rotated of 45 degree i have :

i would extract the rotation angle of the section from the matrix that is indipendent of the direction of the beam.

is possible?


Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!