Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

rotate camera three js

t = Math.min(t + 0.01, 1);
camera.position.copy(startPosition).lerp(endPosition, t);
camera.lookAt(0, 0, 0);
Source by discourse.threejs.org #
 
PREVIOUS NEXT
Tagged: #rotate #camera #js
ADD COMMENT
Topic
Name
8+3 =