tyFlow Forum
Rotation&Scale TM issue - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: Bugs and Issues (https://forum.tyflow.com/forum-3.html)
+--- Thread: Rotation&Scale TM issue (/thread-2551.html)



Rotation&Scale TM issue - nayan - 07-31-2021

Hi!
Rotation and scale properties in custom properties TM are working together or not getting read together. Only Scale is read and rotation is resetted


I am attaching the file

Thank you
Nayan Bodawala


RE: Rotation&Scale TM issue - tyFlow - 08-02-2021

Hi Nayan,

This is not a bug, but instead a quirk of your setup. You set your scale to 0,0,0 before interpolating back up...but a transform with zero scale also has zero rotation (they are related in a transform matrix...if you zero one out, the other is also zero'd out). This is more of a general math issue than something I can fix. The easy solution is to scale to a tiny value rather than zero (ex: 0.001, 0.001, 0.001)


RE: Rotation&Scale TM issue - nayan - 08-04-2021

(08-02-2021, 08:33 PM)tyFlow Wrote: Hi Nayan,

This is not a bug, but instead a quirk of your setup. You set your scale to 0,0,0 before interpolating back up...but a transform with zero scale also has zero rotation (they are related in a transform matrix...if you zero one out, the other is also zero'd out). This is more of a general math issue than something I can fix. The easy solution is to scale to a tiny value rather than zero (ex: 0.001, 0.001, 0.001)


Thank you. My brain was telling me the same thing, but was not sure....your answer confirmed it.
But if I set and get individual channels, then its working.....like setting custom properties vector scale and rotation matrix - its working properly