I am trying to animate the arcRotateCamera when I first enter the scene and I would like to do a small rotation with a zoom in. The issue I am having is that I am only able to affect the positioning of the camera and not the rotation. I am able to do this by selecting the camera.target’s position but this is the only attribute I am able to select with GSAP. How can I select the camera’s rotation?
Here is the simple gsap script to affect the target.
This didn’t work for me and I received the error below. I installed GSAP and ran the scene using parcel btw.
“Invalid property alpha set to 3.141592653589793 Missing plugin? gsap.registerPlugin()”