+ 1
How to animate both Box and Sphere?
3 ответов
+ 2
I did it in another way. I just created new function animateObjects, and I called these two animate functions within it, and I called the render.setAnimationLoop(animateObjects)
https://sololearn.com/compiler-playground/WHb0u3cfuJ8S/?ref=app
+ 1
I think it's to do with the "renderer". Do you know if you can render 2 objects at once? Do you have a link to the documentation?
+ 1
Great solution! Well done