How to correctly detect mouse events in Sprite3D entities?
As far as I understood, the default mouse event for Sprite3D is triggered from it’s bounding box.
Well, an AABB is not really reliable in this case because it is not updated with the camera.
Trying to set other picking collider are useless, because looks like the Sprite3D.collidesBefore()
code is just a dummy that doesn’t really works (null exception, refering to an undefined camera and submeshes).
As a workaround, I may replace it by a custom camera facing Mesh+PlaneGeometry.
But isn’t there a simpler way? Am I missing something?