I've encountered an issue in three.js where the console displays this message:
DEPRECATED: Matrix4's .multiplyVector3() has been removed. Use vector.applyMatrix4( matrix ) or vector.applyProjection( matrix ) instead.
Unfortunately, I'm unsure of how to implement this change.
Below is my current code snippet:
var rotation_matrixc = new THREE.Matrix4();
rotation_matrixc.extractRotation(CHROMEboyPC.matrix);
var cam_vectorc = new THREE.Vector3( 100 , 30 , 5);
var final_cam_vectorc = rotation_matrixc.multiplyVector3(cam_vectorc);
camera.position.copy(CHROMEboy.position ).add(final_cam_vectorc );
camera.lookAt(CHROMEboy.position);
I need help rewriting the code using the recommended methods provided.