matrix m = primintrinsic(0,'packedfulltransform',@ptnum);@orient = quaternion(matrix3(m));
Stole this from odforce. I'm unsure whether it's meant to be in a point or primitive wrangle (and then promoted to the other). I managed to get it working in just a point wrangle..This helps you get rotational values from an alembic'd object (v. handy!)
No comments:
Post a Comment