Problem with function Animate
-
Hi,
I just want to open 2 doors.
On first one I added the attribute OnClick Animate(RotZ, 0, 90) --> perfect
On second one I added the attribute OnClick Animate(RotZ, 0, -90) --> problem, the door open but never close. I see the attribute's value changing from 0 to -90 alternatively but the door stay open.I wasn't able to workaround changing the axes.
Any idea?
-
Hi Alain,
Check out this topic for the answer. In short, quotes are needed around the attribute name.
http://forums.sketchucation.com/viewtopic.php?f=289&t=35356
onClick: animate("RotZ", 0, -90)
-
Arghhhh!!!!!
Stupid guy, it's written in the doc!!!!!
Thanks a lot
Regards,
Alain
Advertisement