Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

How to assign Matrix4x4 to Transform?

$
0
0
I have a calculated matrix, and I need to instantiate a new object with exact the same transformation as the matrix describes.

Do I really have to extract position, rotation, and scale values from the matrix, or there is a nice and simple way to assign the whole matrix to Transform, which I haven't found yet?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>