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.

clickable objects behind other objects

Home Forums Graphics / Blender clickable objects behind other objects

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #30402
    michael90g
    Participant

    hi, i have a small issue when using clickable objects, i have parented some buttons to a camera which acts as buttons, but when they come behind other objetcs they are not clickable, even when they are set to render above everything else, is there a fix for this?

    #30409

    Hi,

    Try moving your button objects as closer to the camera eye as possible, so that they never go behind any objects.

    Alternatively, you can use HTML-based UI.
    https://www.soft8soft.com/docs/manual/en/introduction/HTML-based-user-interfaces.html

    Chief 3D Verger | LinkedIn | Twitter

    #30410
    Al Sande
    Customer

    I did this in my “Heli Ride” project (in projects) and had my “clickable objects” just positioned in front of the mostly-transparent “legend” that I made to show where to click.

    I did a screenshot of a what my setup looks like. In this project I had 4 cameras so duplicated this setup 4 times; then the user can just click on a camera to change views. The puzzles I used are also shown in the project folder. All object (camera, transparency, clickable objects) are all selected so you can see all of the components.

    I did have to mess with it a bit (and it could still use some tweaking) to make sure the “click targets” were actually in front of the legend a bit; it’s still possible to miss it if the click isn’t just right.

    I hope this helps a bit…

    Al

    #30449
    michael90g
    Participant

    ok thanks, but moving them closer to the camera forces me to increase near clipping, which have negative effects on intersecting meshes (stuttering and flickering)
    but seams to be the only solution if not html based ui then, will try and find a sweet spot for this solution.

    Hi,
    Try moving your button objects as closer to the camera eye as possible, so that they never go behind any objects.
    Alternatively, you can use HTML-based UI. https://www.soft8soft.com/docs/manual/en/introduction/HTML-based-user-interfaces.html

    #30450
    michael90g
    Participant

    seems like the solution, thanks :good:

    I did this in my “Heli Ride” project (in projects) and had my “clickable objects” just positioned in front of the mostly-transparent “legend” that I made to show where to click.
    I did a screenshot of a what my setup looks like. In this project I had 4 cameras so duplicated this setup 4 times; then the user can just click on a camera to change views. The puzzles I used are also shown in the project folder. All object (camera, transparency, clickable objects) are all selected so you can see all of the components.
    I did have to mess with it a bit (and it could still use some tweaking) to make sure the “click targets” were actually in front of the legend a bit; it’s still possible to miss it if the click isn’t just right.
    I hope this helps a bit…
    Al

    #30464
    Al Sande
    Customer

    Glad to be able to help out… I’m a bit of a newbie at this end of it but am learning more as I find the time to experiment with this very interesting application.

    #30469

    :good:

    Chief 3D Verger | LinkedIn | Twitter

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