Created and added temple

Was really nice seeing these when I went to Japan, so I tried recreating one, but I'm not really sure about the result
Maybe I should work again on the colours
This commit is contained in:
2024-01-23 22:30:19 +01:00
parent eceed179fe
commit 3a31d09a61
3 changed files with 3402 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@@ -328,6 +328,17 @@ export async function addAssetsOnScene(scene){
alignGround(table.scene, gamepad.scene);
scene.add( gamepad.scene );
/* --------------------
ADDING TEMPLE
-------------------- */
const temple = await loadModel('src/objects/models/temple.gltf');
temple.scene.scale.set(0.15,0.15,0.15);
temple.scene.position.set(14.92,13.26,0);
temple.scene.rotateOnWorldAxis(new THREE.Vector3(1,0,0), MathUtils.degToRad(90));//Must be standing up
temple.scene.rotateOnWorldAxis(new THREE.Vector3(0,0,1), MathUtils.degToRad(-90));
alignGround(ground, temple.scene);
scene.add( temple.scene );
/* --------------------
ADDING NAME & JOB
-------------------- */