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.

Texture change logic with variables

Home Forums Puzzles Texture change logic with variables

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #32578
    KurtGR
    Customer

    Hi again,

    I’m trying to work out how to create some configurator logic, essentially I have a bunch of different hot tub designs & materials, and I need some kind of variable logic so that I can check what options are selected and then change materials/options.

    ]

    This doesn’t work as intended, can anyone see a problem here?

    #32581

    Hi,

    this particular piece of puzzles looks ok. May be it is something wrong with the rest of the logic?

    Chief 3D Verger | LinkedIn | Twitter

    #32582
    KurtGR
    Customer

    Here’s another section that sets “selected_tub” when you click on an element.

    The other procedures are just to hide/show certain UI elements so they shouldn’t affect anything.

    Also “update_tub” works so I know my selected_tub logic is working :(

    #32584

    If you put the puzzle print to console just before the replace texture puzzle, will it print its text message upon button click (which in turn can be opened with F12 and then switch to console tab)?

    Chief 3D Verger | LinkedIn | Twitter

    #32586
    KurtGR
    Customer

    It doesn’t unfortunately!

    #32590

    okay, what if you move it a level higher, just under the event click?

    Chief 3D Verger | LinkedIn | Twitter

    #32593
    KurtGR
    Customer

    Yes it works if its a level higher, why is that?

    #32595

    looks like the condition is never met. Could print to the console the values of both variables as well?

    Chief 3D Verger | LinkedIn | Twitter

    #32632
    KurtGR
    Customer

    Hi Yuri, I ended up using a different method so I didn’t get round to testing that – I do have some difficulties generally with “and” logic, it’s probably something to do with the way I’m doing things, thanks.

    #32633

    sure, glad you worked it out! :good:

    Chief 3D Verger | LinkedIn | Twitter

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