Sign in to follow this  

clockwise and counterclockwise angle.

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this