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
In an older build of R3F I was using, the raycaster used to have an 'enabled' property on it I could toggle on and off at will.
For performance reasons I need to be able to imperatively turn the raycaster on and off. Any advice on how to do this in the latest build?
The closest approach I can think of would be to set the raycaster layer to some nonsense layer that has nothing on it...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
In an older build of R3F I was using, the raycaster used to have an 'enabled' property on it I could toggle on and off at will.
For performance reasons I need to be able to imperatively turn the raycaster on and off. Any advice on how to do this in the latest build?
The closest approach I can think of would be to set the raycaster layer to some nonsense layer that has nothing on it...
Beta Was this translation helpful? Give feedback.
All reactions