Trigger events bug

F12 and check the console.log

TRIGGER_ENTERED 0 : transformNode - skill
TRIGGER_EXITED 1 : transformNode - skill
TRIGGER_ENTERED 2 : transformNode - skill

question

why three times?

cc @amoebachant

Hi @eoin
It looks like trigger events are not reported as expected with box shape.

@amoebachant did a great repro here : Babylon.js Playground

I was wondering if it’s related to event masks but I didn’t get further than what the PG shows

Thanks for that repro. It’s a bug in how we’re generating the events. I’ll get this fixed up in the next WASM update.

2 Likes