Replies: 1 comment 2 replies
-
What you have there looks good to me, but what I suspect may be happening is that a default camera behaviour is undoing your
It sounds like I should add an opt out mechanism like
edit: When I say attached I mean when the camera is mounted, which may be called after your |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I'm just trying to get oriented with declarative/ react-style babylon, and would love some help wrapping my head around how to remove camera inputs.
Normally (imperatively) I'd call
camera.inputs.clear()
. My first thought (which is probably wayyyy off) was to create a ref and use the ref to access camera inputs. This totally didn't work and is probably very wrong:Any thoughts are greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions