AlanW Posted January 31, 2016 Share Posted January 31, 2016 Hi, Can anyone animate the Hand? There was an animation node given out earlier and its in this file. Thanks Quote Link to comment
AlanW Posted January 31, 2016 Author Share Posted January 31, 2016 (edited) Well, Can get the hand to rotate but they stay in fixed but you can see the other one rotating. Any help gratefully accepted. Run second file and the hands move to a new location, but i wanted them to tick around in one location. Edited January 31, 2016 by Alan Woodwell Quote Link to comment
Marionette Maven Marissa Farrell Posted February 1, 2016 Marionette Maven Share Posted February 1, 2016 Alan, The animate node that you're trying to use in this file won't really help you out. I've attached a revision of your Clock_02 file. The change I made is to the "Transform2" node (again). If you open it up and take a look at the bottom, I added the line "vs.ReDrawAll()", this line will update your drawing area with the new rotation each time the node gets run. I also edited the logic behind your sequence. In this case, we want to rotate it -30 degrees each step because we're adding to the previous location. A negative angle will move us clockwise. If we were to leave it with the sequence you were using before, the line would move in different increments, which isn't what you're looking for. Let me know if this makes sense and if you have any questions! Marissa (I'll try to get a node that will just update the view without having to append code to the node. I tried briefly for this example, but failed. ) Quote Link to comment
AlanW Posted February 1, 2016 Author Share Posted February 1, 2016 (edited) NICE!! Too Easy Easy when you know how. More homework, LOL Yes I noticed the (vs.ReDrawAll()). Looks like its a course in Python coming up. Edited February 1, 2016 by Alan Woodwell Quote Link to comment
AlanW Posted February 2, 2016 Author Share Posted February 2, 2016 (edited) Marissa, Now you have rotated the big hand now can you do the small for the hour. In the network they run one after the other, I am trying to make them start together? Thanks Edited February 2, 2016 by Alan Woodwell Quote Link to comment
Marionette Maven Marissa Farrell Posted February 2, 2016 Marionette Maven Share Posted February 2, 2016 I'm excited for the challenge! I will say, however, that I'm most likely going to have to create another custom node. When Marionette compiles, I don't believe there's a smooth way to create nested loops, which is pretty much what we would need in this case. I'll get back to you on this, though! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.