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.

Flip/Rotate Gitters

Home Forums General Questions Flip/Rotate Gitters

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #67556
    Crunch
    Customer

    Ok, what am I doing wrong? The gittering usually starts after a few rotations when flipped over.

    https://v3d.net/os4

    Attachments:
    You must be logged in to view attached files.
    #67558
    xeon
    Customer

    My guess is that your Rotation procedure does not test if there is an animation already playing before rotating. So you can in effect cause two or more rotation events to happen simultaneously. Since you are starting the rotation from the current location if the rotate button is hit repeatedly or if there is animation already going and you hit the rotation button again…the procedure executes the request and you get problems.

    If you share the project file it would be easier to diagnose.

    There may also be a visual clue as to whats happening…when the “jittering” ocurrs…the map on the cubes rotate 180 degrees. Not sure what’s causing this but I am pretty sure if you control the firing of the rotate button so it can’t fire once a rotate has started..it will solve the problem.

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

    #67562
    kdv
    Participant

    what am I doing wrong?

    https://v3d.net/osj
    Keep an eye on the rotation of Empty’s coordinate axes. The same mistake as here.

    To make it work properly you should rotate Empty in its local coordinates.
    https://v3d.net/osl

    See this demo to find out the difference between global and local coordinates
    https://v3d.net/ol8

    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.

    #67613
    Crunch
    Customer

    KDV – THANK YOU! That was so helpful.

    So I followed what you said in that other post about not using the ‘updated value’ in the animate parameter puzzle, and instead using a constant, but not sure how to get the easing to work?

    Would you be a dear and please post a screen shot of the puzzle config you did to get that golden crate rotating and flipping properly with easing? Again, THANK you!!

    #67614
    kdv
    Participant

    not sure how to get the easing to work?

    A bit of elementary math that you could find in that post

    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.

    #67622
    Crunch
    Customer

    :yahoo:

    PERFECT! THANK YOU

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