Rotation&Scale TM issue
#1
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


Attached Files
.max   RotationScaleIssue.max (Size: 696 KB / Downloads: 233)
  Reply
#2
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)
  Reply
#3
(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
  Reply


Forum Jump: