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.

Reverse animation not working

Home Forums Puzzles Reverse animation not working

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #60400
    Webenart
    Customer

    hi,

    I use a simple condition, i have a loop animation from 0-330. the start and finish frames (the 0 and the 330) are the exact same position.

    What i need is i check if the the curent frame of animation is bellow or above 165 frame (the middle of the animation).

    if it is bellow, i play the animation from curent frame to the end (330). if is above i want to play it from curent to 0 in reverse.

    i have selected the reverse but it does not work. why?

    regards

    Attachments:
    You must be logged in to view attached files.

    Webenart | Creative Websites
    webenart.com

    #60405
    kdv
    Participant

    The play animation puzzle won’t work from n to 0. It works only if from < to. And if the reversed option is active the chosen range will be played in the reverse direction.

    wrong

    correct

    Second: These puzzles will never allow the animation to be played in any direction even if from < to.

    Your logic pauses the animation rigth after it have beed started.

    Puzzles and JS. 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 meaning at all.

    #60413
    Webenart
    Customer

    Oh no i have se the pause after the play, but i think that is only on my screenshot, i have tried it several times to set the pause before (i have to set it to pause, bcs if it is playing, and i call a “play” it does not do anything, so i have to pause it first and then play it again)

    But i will try it again today to set the pause before.

    As for the negative value i have tried that as well. the 0 and the 330 frame is the exact same position so i can make the loop work. i have tried all the combinations, “curent_frame” to 330 with reverse on, 330 to “curent_frame” with no reverse. All it does is keep pausing.

    (of course with that puzzle it is normal because i set the pause after the play, so i will fix that and try that again, thanks)

    regards

    Webenart | Creative Websites
    webenart.com

    #60415
    kdv
    Participant

    Once again: the animation won’t play at all if the start frame is more than the end frame. It doesn’t matter is your animation looped or not. The reversed animation can be enabled only by the reversed option. No other ways.

    Puzzles and JS. 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 meaning at all.

    #60416
    Webenart
    Customer

    sure, got that, so the option “curent_frame” to 330 with reversed on should make the job!

    curent_frame variable is anything between of 0-229, so all of them are less than the end frame.

    Webenart | Creative Websites
    webenart.com

    #60417
    kdv
    Participant

    sure, got that, so the option “curent_frame” to 330 with reversed on should make the job!

    exactly

    Puzzles and JS. 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 meaning at all.

    #60440
    xeon
    Customer

    You will need the Pause Animation puzzle to stop the loop animation that is currently in progress then you will create a new play animation puzzle that tells it what to do next. I have created a sample based on your initial post. If you want the sample file let me know.

    This is using Blender 3.4.1 and V3D 4.2

    Attachments:
    You must be logged in to view attached files.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

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