Search the Community
Showing results for tags 'onpointerovertrigger'.
Found 3 results
OnPointerOverTrigger Triggers through other meshes
jroosterman posted a topic in Questions & AnswersI 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?
Change Cursor on Mouse over
Gerente posted a topic in Questions & AnswersAny idea how to change the Mouse cursor on mouse over? http://www.babylonjs-playground.com/#21YCLG
Xeonzinc posted a topic in Questions & AnswersHi 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