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.

Navigation Arrows

Home Forums General Questions Navigation Arrows

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #86950
    emadamsinc1
    Customer

    I am trying to use puzzles to create navigation arrows that cause the next annotation in a series of 10 to open as the right button is clicked and cause the annotations to open in reverse as the left button is clicked. I am not sure how to set this up in puzzles or if I need to be using a combination of custom javascript with a puzzle

    something like this:

    on click of r-button
    do
    set previousIndex to currentIndex ← save old index
    set currentIndex to currentIndex + 1 ← move forward

    if currentIndex > length of annotations – 1
    set currentIndex to 0 ← wrap to start

    close annotation (item previousIndex of annotations)
    open annotation (item currentIndex of annotations)

    on click of l-button
    do
    set previousIndex to currentIndex ← save old index
    set currentIndex to currentIndex – 1 ← move backward

    if currentIndex < 0
    set currentIndex to length of annotations – 1 ← wrap to end

    close annotation (item previousIndex of annotations)
    open annotation (item currentIndex of annotations)

    Attachments:
    #86955
    xeon
    Customer

    I am not sure what you mean exactly….but here is something that may cover what you are asking.

    https://v3d.net/1g02
    Zip Project file with blender file here: https://v3d.net/1g03

    Hopefully you can adapt from here.

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

    #86969
    emadamsinc1
    Customer

    This is what I was needing help with thank you for taking the time to send this :)

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