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.

Basic Click-Toggle Puzzles Setup

Home Forums Tutorials Basic Click-Toggle Puzzles Setup

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #28496

    Here’s something i continually re-use, especially for testing features.

    It’s a simple toggle setup using a boolean variable to change back and forth between two states.
    In the example’s case, cube as Red or Yellow.
    (cube_clicked = true / false is just it’s state, not representative of whether it’s actually been clicked.)


    I have a more complex one that can be used for all objects i might share if i can simplify it a bit.

    Zip file of project attached. just unzip to your verge3d/applications folder.

    You must be logged in to view attached files.

    cool! thanks for sharing! :good:

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博


    Thanks a lot!

    • This reply was modified 7 months, 1 week ago by dubbeldutch.
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.