Skip to content
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

TrackballControls do not work with frameloop="demand" #708

Open
nermolov opened this issue Dec 29, 2021 · 0 comments
Open

TrackballControls do not work with frameloop="demand" #708

nermolov opened this issue Dec 29, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@nermolov
Copy link

  • three version: 0.136.0
  • @react-three/fiber version: 7.0.24
  • @react-three/drei version: 8.3.1

Problem description:

Unlike OrbitControls, TrackballControls doesn't seem to invalidate the frame and thus doesn't trigger rendering with frameloop="demand"

Relevant code:

https://codesandbox.io/s/agitated-pascal-nvw2m?file=/src/App.js

Suggested solution:

I tried using the experimental CameraControls.TrackballControls as #171 suggested that solves this issue, but couldn't get that working either.

@nermolov nermolov added the bug Something isn't working label Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant