Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Reverse CreateFromYawPitchRoll() (or how to get the vector that would produce the matrix given only the matrix)

$
0
0

@GeonBit wrote:

Given a matrix, I want to get a 2d vector that I can later use like this:

Matrix.CreateFromYawPitchRoll(_currRotation.X, _currRotation.Y, 0f))

And will get the same original matrix I had (ignore scale and position for now).
Anyone knows how do I get that 2d vector?

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles