I'm currently working on positioning a basic cube at coordinates 0,0,0.
When I try to position the cube at 0,0,0, I end up with this outcome: https://i.sstatic.net/S2zom.png
However, this is not the desired result. Here is what I am aiming for: https://i.sstatic.net/lFLjq.png
The code I am using is quite simple:
const cube = new THREE.Mesh(new THREE.BoxGeometry(1, 1, 1));
cube.position.x = 0;
cube.position.z = 0;
cube.position.y = 0;
cube.material = new THREE.MeshPhongMaterial({ color: 'green' });
this.scene.add(cube);