Rotation in XNA

Started by
2 comments, last by ????????? 11 years, 9 months ago
Hi guys,
How can I Rotate my vertices around a point (a custom pivot point)? is there any method to do this?
Advertisement
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.

http://en.wikipedia.org/wiki/Transformation_matrix

but if you can, try to explain the situation and abit more about your problem,
"There will be major features. none to be thought of yet"
I mean a local rotation
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.

This topic is closed to new replies.

Advertisement