Jump to content
  • Advertisement
Sign in to follow this  

clockwise and counterclockwise angle.

This topic is 3130 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 all, I have a function in my project that return the angle that the character is facing on. 0 if EAST D3DX_PI/2 if NORTH D3DX_PI if WEST (3/2)*D3DX_PI if SOUTH. this angles is counter clockwise. Now i need to find a rotation angle for the mesh and my mesh rotations are: 0 will face SOUTH D3DX_PI/2 will face WEST D3DX_PI will face NORTH (3/2)*D3DX_PI will face EAST this angles is clockwise according with D3DXMatrixRotationY who want clockwise rotation. I ask help about building trasformation from face angle->mesh rotation angle Thx to all for your time.

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.

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!