I am creating a menu screen where there is a 3D UI element. I want it to glow on mouse over. So far I’ve got it working but… it only works when the mouse is hovering over the very thin text. If the mouse goes between the characters, it stops glowing. How do I change it so the mouseover event triggers just outside the letters, perhaps using a box collider?
yep box collider is the easiest way
Not sure how a collider would help in a widget. Seems awkward to propagate an already working trace towards a widget.
Put a border behind (or around) the text in the widget, ensure it’s visible but change its opacity to 0 if you do not want to see it.
I’m not using a widget, I’m using a 3D object in the level
How do I make the box collider trigger the mouse over event? At the moment, it’s only triggering for the render mesh
a menu screen where there is a 3D UI element
Generally, usually refers to a widget component. Hence my confusion.
Volume colliders overlap by default, it must block instead:
The mouse trace channel is defined in the player controller:
And defaults to Visibility
. Mouse Over events must be enabled, but they are by default, too.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.