You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Raycasts are expensive while the camera is moving so I disable the events when I'm panning/moving
const{ events }=useThree();// In my function constdisableEvents=()=>{events.enabled=false;}constenableEvents=()=>{events.enabled=true;}
If I have a event that fires when the pointer enters (hover), like showing a cursor on the mesh when the controls stop and re-enable I would assume it would detect it.
What it does:
Nothing, luckily I also track pointerMove so I have a way around this.
Suggestion:
When events are enabled, fire a event without a mousemove
The text was updated successfully, but these errors were encountered:
Raycasts are expensive while the camera is moving so I disable the events when I'm panning/moving
If I have a event that fires when the pointer enters (hover), like showing a cursor on the mesh when the controls stop and re-enable I would assume it would detect it.
What it does:
Nothing, luckily I also track pointerMove so I have a way around this.
Suggestion:
When events are enabled, fire a event without a mousemove
The text was updated successfully, but these errors were encountered: