Can you guide me to resources about .position.copy()
?
For instance:
cube.position.copy();
In the book, it says:
cube.position.copy (new THREE.Vector3 (x, y, z));
However, I couldn't find any information about it in the documentation. Is it even documented? Can someone help me locate it?
So if I understand correctly, .copy()
requires a Vector3 object as input instead of individual coordinates like this:
cube.position.set(x, y, z);