We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Playing animation from user set frame

Home Forums Puzzles Playing animation from user set frame

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #61153
    cbcl4655
    Customer

    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

    #61154
    kdv
    Participant

    https://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.

    #61282
    cbcl4655
    Customer

    Thank 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.
    #61284
    kdv
    Participant

    And 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.

    #61285
    cbcl4655
    Customer

    Right. 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.

    #61286
    kdv
    Participant

    Use 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.

    #61289
    cbcl4655
    Customer

    Variables! Perfect, that worked. I knew I was using the wrong puzzle bits. Thanks for your help.

    #76515
    c4cc
    Participant

    Use 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?

    #76516
    kdv
    Participant

    Read 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.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.