I am trying this:
- Code: Select all
Matrix.Invert(translation).Translation
and that is the the code behind translation:
- Code: Select all
Matrix translation = Matrix.CreateTranslation(
modelTransformaton.V03, modelTransformaton.V13, -modelTransformaton.V23);
and modelTransfomation is Matrix4x4,but it's not working.