• 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.

Solved UIButtons can not be pressed under certain angles

scsi

-
Joined
Jul 10, 2021
Messages
104
Reactions
42
Trying to make a scene and this shit with buttons is fucking infuriating. I almost obliterated my keyboard 5 minutes ago because of this.
When this happens it takes away the will to live not saying to create anything.
If I rotate the buttons 90 or 180 degrees it seems to help a bit but not always.
I also met this problem in other peoples scenes.
This is driving me insane. Is there a way to solve this?
Didn't find anything via search. Please help =(
 
Yeah, buttons are a bit finicky about angle and if there's something in between them and the user.
To prevent going insane with unclickable buttons, I usually give them more space in between and some distance from other atoms.
 
Upvote 0
Also Check your FoV settings, on desktop at FoV 20 certain angles and distance you cannot trigger the UI, try 40 or 60 FoV depending on the scene ;)
1659230069787.png

Also try this plugin to make the UI follow the camera
?
 
Upvote 0
It's true, UIbuttons could be tricky sometimes...
Especially if you place them close to each other (or to another control node) or overlap ontop of something.
Also viewing angle doesn't help the case (if button is not hidden).

-Did you try using "Hidden" option on UIButtons?
(It should help preventing selection of UIButton, while in 'play mode' and atoms are 'hidden').
-You could try resizing Canvas Y Size? :unsure:
(To "push" control node down).

EDIT:
example1 (hidden):
All unnecessary nodes are hidden.
I can press all 4 buttons without any issues by clicking top section (and not at the bottom where control node is).
uibuttonA.jpg


example2 (show hidden):
When enable, it's bit harder to press buttons (due to atoms in front).
Also as you can see by select area (canvas size) I pushed control nodes down (to prevent control selection).
uibuttonB.jpg

uibuttonC.jpg
 
Last edited:
Upvote 0
Well there is toggle: trigger, but than you have to use person:exact clothing item:etc (it's fine until you change appearance).
also it breaks reference/dependencies (just a tip... if you have plans sharing stuff on hub) (more info).

Alternatively idk...
If you don't wanna load/toggle clothing presets, maybe try adjusting material alpha?
(than again you have to use similar trigger path as with toggle: ...not useful if you change presets often)

Back to original question...
In example video above you are in edit mode also you moused over UIbutton control nodes.
(it doesn't matter if targets ("T") are displayed or not, in video they are not hidden).
If adjusting canvas is not an option for your use case, try using 'hidden' option on UIbuttons
(make sure 'show hidden' is unchecked on atom list/select list).
 
Upvote 0
"show hidden" in the list is unchecked
Hide control nodes with button on the wall (sets the Hidden flag)
Hit T
Hit Play Mode
No changes :LOL:
This is unfortunate and weird (i mean angle is not extreme and you are not too close).
In entire video not once did attack 2 & act 2 button highlight? (or did i miss it?)

omfg this is YOUR room I use in this scene :eek:
?
I just re-checked environment right now, placing buttons in same area, (but i can't reproduce).
Even checked if hidden bed frame was the issue (nope, even if UIbutton is inside bed frame it works).

Sadly...
I can't think of any other solution, hidden option works for me (when i can't press it due to weird angles or overlays). :(
Maybe some plugin/session plugin that conflict? (this is wild guess)
This is older video
But you can see i don't have much issue pressing or highlighting buttons (even with controls visible). ?‍♂️
True, controls in this video are "floating", still you should have same result...but you don't.
 
Upvote 0
Back
Top Bottom