While all the top google hits for this problem revolve around messing with matrixAutoUpdate property, I thought I’d share this simple trick:
object.matrix.copy (...); // or fromArray (...), etc object.matrix.decompose ( object.position, object.quaternion, object.scale );
This only really works with the matrices that can be represented with three.js’ position/quaternion/scale model, but in practice this is vast majority of the cases. You’re welcome.
isn’t it Recompose rather than Decompose ? anyway very handy :)
nah, we already have the matrix and want to set Object3D properties here