Closed hexianWeb closed 2 months ago
useTresEventManager\index.ts, objects added later will not appear in the hits
collection
Hey buddy @garrlker mind taking a look at this one when you have a chance? Thanks 🙏🏻
@hexianWeb is this issue fixed for you in version 4.2.0?
Yes, it has been fixed after version tresjs 4.2.0
Describe the bug
I wrote in the code
&
I found out it couldn't trigger the event! This also happens with
primitive
load largeglb
file. But interestingly, this error may be avoided by moving the mouse inCanvas
after allmodel or mesh
have been "loaded in the scene".The mouse is always in the canvas (Broken)
https://github.com/Tresjs/tres/assets/59913119/e3171f55-ac9b-4f59-9848-3d5c714c42fe
The mouse enter canvas after mesh "loaded"
https://github.com/Tresjs/tres/assets/59913119/aa553c7a-355f-4d9d-a616-be3b99bf772e
Reproduction
https://stackblitz.com/github/hexianWeb/starter/tree/event-register
Steps to reproduce
If the user case is broken, please tell me in time
System Info
No response
Used Package Manager
pnpm
Code of Conduct