Search the Community
Showing results for tags 'OnPointerOverTrigger'.
-
OnPointerOverTrigger Triggers through other meshes
jroosterman posted a topic in Questions & Answers
I have a group of meshes that have OnPointerOverTrigger events. When I mouse over them the event triggers. However, when I mouse over them while they are behind another object that has no events, the OnPointerOverTrigger still triggers. Is there a simple way to make OnPointerOverTrigger not trigger when the mesh is behind another mesh?- 4 replies
-
- onpointerovertrigger
- mouse
-
(and 2 more)
Tagged with:
-
Any idea how to change the Mouse cursor on mouse over? http://www.babylonjs-playground.com/#21YCLG
-
Hi folks, I've been studying and learning Babylon js for a couple of months now, great stuff so far! However I've run into an issue, which seems to be either with OnPointerOverTrigger or ExecuteCodeAction. Basically I want to call a function when you either mouse over/out a mesh, however the function only receives the meshUnderPointer on the OnPointerOutTrigger, not OnPointerOverTrigger. Is this a bug or am i misunderstanding how this is meant to work? I've put an example on the playground, the console log shows no meshUnderPointer for the OnPointerOverTrigger event. http://www.babylonjs.com/playground/#8ULNX#6 Thanks
- 5 replies
-
- ActionManager
- OnPointerOverTrigger
-
(and 1 more)
Tagged with: