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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement