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.

How to show hidden object again?

Home Forums Puzzles How to show hidden object again?

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #67809
    alissa
    Participant

    Hey, I am really new at verge3D and currently trying to get an object to hide when clicked and show again when clicked again.(showing outlines while hovering over the object while it’s hidden)
    The problem is that once the object is hidden I can’t get it to show again.
    Does someone know how it could fix this?

    Appreciate any help:)

    #67810
    kdv
    Participant

    You can’t click or hover over hidden objects. when clicked and when hovered work with visible objects only. You should click some visible object or html button to show the hidden one.

    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.

    #67855
    alissa
    Participant

    Thank you! Also not with emptys, right?
    Another thing I was trying to do, is changing through a list of textures of an object by clicking on the object itself. Do you know a way to do that?

    #67857
    xeon
    Customer

    No, empties are a special sort of object that you are not going to have access to for WhenClicked or WhenHovered.

    You have several methods open to you when trying to change textures. It will depend on your particular use case.

    If you have a button and you want you have texture on it that says “on” and when you click it…you want it to say “off”. Then one way is to create one image that has both the on label and the off label. You will can then control the location of the mapping by using a value node. You will use the material puzzle Set Value in Material to the cooresponding value you need for off or on.

    Another way to do the same thing is to have materials. You will need three objects: your button and two planes. Assign your On material to Plane 1 and your Off material to Plane 2.
    Then you can use the assign material button inside your WhenClicked. Be sure to place Plane 1 and Plane 2 out of camera view.

    There are some other options as well.

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

    #67895
    alissa
    Participant

    Okay thank you, I will try to do it later.

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