• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.

Question Invisible items blocking UIbuttons?

Toddy

Active member
Joined
Aug 30, 2021
Messages
167
Reactions
31
Recently, I created a two uibuttons to start/stop a scene. When I click to test the button setup the uibutton triggers appear to be functioning properly. However, clicking on the actual button will only select the uibotton atom and not trigger the action. After numerous attempts I discovered that the buttons worked properly only if I zoomed in very close to button before clicking on it. How do I fix this?
 
bring them a bit in front if they're on the same plane to something else, like with a wall or some panel. the button might get rendered above but the click might register on the 'background' atom
It was just odd that I could select the button to reposition it but it did not trigger. Also I could not find any atoms near it. I will reposition the button closer. Thanks
 
Upvote 0
If you ever find exactly why this happens, let me know! It's been bugging me forever and I still didn't figure out the cause either.
 
Upvote 0
This happens when there is another object between you (the camera) and the button. That includes culled (=invisible) geometry, like the backside of a wall in a room. Especially in Desktop mode with the default FieldOfView of just 40, you are often a lot further back than you think you are. That means you might actually be stuck inside the wall. You just can't see the wall, so you think it's fine, but it isn't. Basically, instead of clicking the button, you click the wall. When working on a scene in Desktop mode I recommend a FOV setting of 60. It's a bit "fisheye", but you can judge distances better. (For playing FOV 40 is indeed better.)
 
Upvote 0
Back
Top Bottom