-
-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot dispatch custom event #503
Comments
I checked your demo and followed the provided reproduction steps. Untitled.mp4 |
@yomotsu Thanks for your reply! Yes, this event is dispatched successfully, but there is no visual behavior. should work exactly the same as clicking the left mouse button, but programmatically |
that is, when you move the mouse across the screen, you should see the camera fly around the object, but this does not happen |
Are you looking to enable orbit rotation without needing to press a mouse button? |
Describe the bug
For some reasons i need to dispatch custom events. For example i use pointerdown.
To Reproduce
Steps to reproduce the behavior:
Code
Live example
https://codesandbox.io/p/sandbox/cameracontrols-basic-forked-gjdc8g?file=%2Fsrc%2FApp.js%3A29%2C4-40%2C60
Expected behavior
Custom events must fire
Screenshots or Video
No response
Device
Desktop
OS
iOS
Browser
Chrome
The text was updated successfully, but these errors were encountered: