Jump to content
  • Advertisement
Sign in to follow this  

clockwise and counterclockwise angle.

This topic is 3211 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.

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!