how can i get rotation vector from matrix4x4 in xna?
- by mr.Smyle
i want to get rotation vector from matrix to realize some parent-children system for models.
Matrix bonePos = link.Bone.Transform * World;
Matrix m = Matrix.CreateTranslation(link.Offset)
* Matrix.CreateScale(link.gameObj.Scale.X, link.gameObj.Scale.Y,
link.gameObj.Scale.Z)
*…