trois
trois copied to clipboard
point-enter auto-triggered after GLTF model loaded
as the example,
pointer events will triggered after the .gltf model was loaed.
but the mouse may not enter the scene.
this is the pic ,when the code worked in starter-kit.
i wondered whether it is intended.or just unwanted result
That looks like an unintended result - I'll mark this as a bug. Thanks for catching!
It is because of this : intersect-mode="frame"
, it will call intersect on every frame, even if the pointer is not over.
The first time it will trigger the events because pointer position is, by default, at the center
Not really a bug in my opinion, do you really need intersect-mode="frame"
?
We could change the default pointer position to handle this.
It is because of this :
intersect-mode="frame"
, it will call intersect on every frame, even if the pointer is not over. The first time it will trigger the events because pointer position is, by default, at the center Not really a bug in my opinion, do you really needintersect-mode="frame"
?We could change the default pointer position to handle this.
maybe i could give it a try without intersect-mode="frame"
but i thought i need intersect with every frame to handle the effect as 'hover ' in html.