Sign in to follow this  

Rotation in XNA

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

If you refer to rotating around a arbitrary axis, you could just multiply your vertexs world matrix with the points world matrix.
then it becomes more of a local matrix.

[url="http://en.wikipedia.org/wiki/Transformation_matrix"]http://en.wikipedia.org/wiki/Transformation_matrix[/url]

but if you can, try to explain the situation and abit more about your problem,

Share this post


Link to post
Share on other sites
Please specify whether you are talking about 2 or 3 dimensions, rotation around a point can be performed only in 2D, rotation in 3D is done around an axis.
You can not rotate around a point in 3D because there are infinite directions around it to represent axes.

Share this post


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