Jump to content
Search Community

Chriz96

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Chriz96

  1. Well I just had to update camera.lookAt(cameraTarget) by moving it inside my tick function
  2. I'm animating the camera in a Three.js scene. I'm able to animate the camera position using a timeline, but I also want to animate a vector3 called cameraTarget to control where the camira is looking. However if I log cameraTarget's values it shows that they actually update but in my scene the camera keeps the same cameraTarget view from the beginning, so basically it's not animating the cameraTarget position. This is my camera and cameraTarget setup This is my timeline And here you can see if I log the cameraTarget values they change as they should, but I don't see the movement in my scene.
×
×
  • Create New...