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

Balls are static and not floating on the screen #43

Closed
iamchenyu opened this issue Apr 20, 2023 · 3 comments
Closed

Balls are static and not floating on the screen #43

iamchenyu opened this issue Apr 20, 2023 · 3 comments

Comments

@iamchenyu
Copy link

When clicking on the balls, they rotate fine but after loaded to the screen, they just appear static and has no movements. When I scroll up or down, they have a single frame movement but that's it.

I compared my code inside Ball.jsx file with the tutorial but even if the code are identical, the issue still exists on my side. You can see a live demo HERE.

Does anyone encounter the same issue and if so, could you please share your solution? Thank you!

@iamchenyu
Copy link
Author

I figured out that by removing the frameloop="demand" attribute on the element, everything works fine. Hope it helps if someone runs into the same issue.

@lefty93
Copy link

lefty93 commented May 5, 2023

I also met this issue and add autoRotate & autoRotateSpeed={1.5} attribute to the <OrbitControls />

@Vour123
Copy link

Vour123 commented May 25, 2023

@iamchenyu Thank you so much. Was stuck on this for a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants