- This topic has 8 replies, 3 voices, and was last updated 4 months, 1 week ago by kdv.
-
AuthorPosts
-
2023-03-20 at 12:13 am #61153cbcl4655Customer
Hi,
I have a simple blender animation that rotates a cylinder around the z axis in an infinite loop.I have a “when dragged over” puzzle set up so the user can change the z rotation.
I would like the user to be able to set the z rotation, then click a play button that will start the animation from the frame they set it to.
I have an on event click puzzle with “play animation” puzzle nested in it, but I am having trouble getting it to start from the custom dragged position. I tried plugging different puzzles into the “from” frame, but it always starts the animation from frame 1.
Sorry for the simple question, I really have zero code experience, but Verge has been amazingly easy to use so far.
Thank You
2023-03-20 at 1:15 am #61154kdvParticipanthttps://www.soft8soft.com/docs/manual/en/puzzles/Animation.html#set_animation_frame
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2023-03-20 at 9:22 pm #61282cbcl4655CustomerThank you for the reply. I think I may not be putting the pieces together correctly though. I’m attaching how I have the puzzle setup currently.
Pressing the play button flips back to the original animation’s start position.
Attachments:
You must be logged in to view attached files.2023-03-20 at 9:27 pm #61284kdvParticipantAnd what did you expect? 0 is the start position )))
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2023-03-20 at 10:32 pm #61285cbcl4655CustomerRight. I’m trying to figure out how to get the frame that the user set and start from there.
I’ve tried plugging in different puzzles like “get position” instead of a number for the start. I know I can manually set the frame to start from, but I’m trying to have it go from where the user set it.
2023-03-20 at 10:35 pm #61286kdvParticipantUse variables
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2023-03-20 at 11:25 pm #61289cbcl4655CustomerVariables! Perfect, that worked. I knew I was using the wrong puzzle bits. Thanks for your help.
2024-08-12 at 3:45 am #76515c4ccParticipantUse variables
I know this is an old question, but why would we need variables? Isn’t the animation puzzles suppose to capture frames from the start?
2024-08-12 at 4:35 am #76516kdvParticipantRead the topic from the very begining.
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
-
AuthorPosts
- You must be logged in to reply to this topic.