Home >Backend Development >PHP Tutorial >What is the difference between position and lookAt() in three.js?
I am looking at three.js recently, but when I am learning camera, this place is not very clear. Please help everyone
I am looking at three.js recently, but when I am learning camera, this place is not very clear. Please help everyone
position corresponds to the position of the camera in space
camera.lookAt() corresponds to the rotation angle (rotation) of the camera, that is, rotate the camera towards that position