- Home /
Question by
Zergling103 · Dec 25, 2011 at 05:06 AM ·
transformmatrix
Checking if a Transform/Matrix is Mirrored
I was wondering how to determine if a Matrix is mirrored along some axis.
I have a way in mind but I was wondering if there is a better way to do it:
bool mirrored = Vector3.Dot( transform.up,
Vector3.Cross( transform.right, transform.forward ))
> 0 ? false : true;
Thanks, in advance.
Comment
Your answer
Follow this Question
Related Questions
Is there such a thing as Unity Algebra? 0 Answers
What is worldToLocalMatrix.MultiplyPoint doing in the back end ? 1 Answer
Manually set transform on certain bones in skinnedmeshrenderer 1 Answer
Modify position in transform matrix 3 Answers
How to get relative transform between two objects? 2 Answers