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.

Very simple light Configurator – on->off

Home Forums General Questions Very simple light Configurator – on->off

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #59690
    g.granger
    Customer

    Hi, Is there a simple example how I can control a light (spot or light) button (on and off). Very simple, just like in the ”simple-configurator”example, without script or parent doc. Does anyone have a simple example that I can look away from?

    That would really help me :bye:

    Attachments:
    You must be logged in to view attached files.
    #59692
    solid
    Customer

    try these puzzles

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

    Webgl Interactive Development https://www.blend3dweb.ru/

    #59697
    g.granger
    Customer

    Hi Solid,
    It seems so easy, maybe I’m just thinking/searching too hard. Would you like to take a look at my file, or maybe someone else? The idea is that when I click on the mirror the light goes on and when I click on the mirror again, the light goes out… It’s much easier with materials ;)

    Downloadlink (verge-map from appmanager) for the simple mirror:
    https://wetransfer.com/downloads/6d25a25b53d2c49b3a6ddee079fb094420230120091012/bab87805475ef592c77a27640277520920230120091039/6b8d8c

    Thanks in advance..

    #59698
    matthijsbinmat
    Customer

    Hi G.Granger,

    i use this setup.

    Attachments:
    You must be logged in to view attached files.
    #59700
    kdv
    Participant

    just show/hide your light source when you click on the mirror…

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

    #59701
    matthijsbinmat
    Customer

    or like that…

    #59702
    g.granger
    Customer

    Thanks kdv77kdv, Thanks, that’s a very good one, that’s how I get the light off indeed. just how do i get the light back on? The first puzzle block works, but not the 2nd block :scratch:

    See also: Downloadlink (vergemap light sample from app-manager)
    https://we.tl/t-Pft1JqZIIP

    Attachments:
    You must be logged in to view attached files.
    #59704
    g.granger
    Customer

    Thanks Mathijs, I’ve tried this but I don’t know what I’m doing wrong why it doesn’t work. :scratch:

    Attachments:
    You must be logged in to view attached files.
    #59706
    kdv
    Participant

    Do not add when clicked puzzle twice for the same object. Use logic and variables.

    If your light is initially hidden then add show puzzle in the begining

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

    #59708
    g.granger
    Customer

    It works (the last one kdv), thanks everyone! ;) :yahoo:

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