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:
BIN
blender_saves/temple.blend
Normal file
BIN
blender_saves/temple.blend
Normal file
Binary file not shown.
3391
src/objects/models/temple.gltf
Normal file
3391
src/objects/models/temple.gltf
Normal file
File diff suppressed because one or more lines are too long
@@ -328,6 +328,17 @@ export async function addAssetsOnScene(scene){
|
|||||||
alignGround(table.scene, gamepad.scene);
|
alignGround(table.scene, gamepad.scene);
|
||||||
scene.add( 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
|
ADDING NAME & JOB
|
||||||
-------------------- */
|
-------------------- */
|
||||||
|
|||||||
Reference in New Issue
Block a user