Hello!
I’m trying to animate a butterfly. I’ve got 1 half of it as a PNG, and have duplicated and flipped it to make it whole. I’d really like to only rotate one side, and have the other side mirror it…
on the right side, I added a script:
const RightSide = parent;
Z.every(100, function () {
RightSide.rotation([LeftSide.rotation[0] * -1, LeftSide.rotation[1] * -1, 0]);
})
I’ve also tried Z.on(“frame”) but that didn’t work either… I also assume that this won’t work ‘live’ in Studio, I run a preview every time I try, but the right side refuses to be affected.
What am I doing wrong?
Is there a way to link node properties in a way that would provide a live preview in the Studio canvas?
Many thanks, really enjoying exploring AR with Zapworks Studio