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.

Menu interaction

Home Forums Puzzles Menu interaction

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #71463
    hamza3d
    Participant

    I have created a menu with two buttons for now: “start” and “about”.

    How do I disable interaction with 3d object (visible) when the person sees the menu?

    #71517
    xeon
    Customer

    You have lots of ways.
    1. You can hide the objects
    2. You can overlay another object that obscures it from clicks when you want it disabled. This can be opaque or transparent.
    3. You can write a state variable (aka, menu on /off ) and then if on… disable the camera, ignore input from your other objects
    4. You can have a different camera in a different location when using the menu.

    Lots of choices.

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

    #71536
    hamza3d
    Participant

    I do not want to hide object it needs to stay visible at all times. Option 2 seems to be the only choice. How can I do that? I’ve tried it using blender, where I have a transparent object but in verge I can select through objects.

    #71538
    kdv
    Participant

    just create a full-page transparent <div> and hide it when the menu is not visible.

    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.

    #71553
    hamza3d
    Participant

    Thanks! Creating a div worked.

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