The typical approach for rotating a 3D object towards a target is the usage of Quaternion.rotateTowards(). It's usage is demonstrated in the official example webgl_math_orientation_transform.
The important bit of this approach is:
camera.quaternion.rotateTowards( targetQuaternion, step );
targetQuaternion
represents the target orientation whereas step
represents the angular step in radians. This value should honor the time delta for a correct animation.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…