Moved camera a bit for ears

This commit is contained in:
James Harrison 2020-04-26 00:19:59 +01:00
parent 940f0a7083
commit 1c8955d1cd
2 changed files with 4 additions and 3 deletions

View File

@ -465,18 +465,19 @@ export class PlayerObject extends Group {
this.skin = new SkinObject(skinTexture);
this.skin.name = "skin";
this.skin.position.y = -2
this.add(this.skin);
this.cape = new CapeObject(capeTexture);
this.cape.name = "cape";
this.cape.position.z = -2;
this.cape.position.y = -4;
this.cape.position.y = -6;
this.cape.rotation.x = 10 * Math.PI / 180;
this.add(this.cape);
this.ears = new EarsObject(earTexture);
this.ears.name = "ears";
this.ears.position.y = 5.5;
this.ears.position.y = 3.5;
this.add(this.ears);
}
}

View File

@ -74,7 +74,7 @@ export class SkinViewer {
// Use smaller fov to avoid distortion
this.camera = new PerspectiveCamera(40);
this.camera.position.y = 0;
this.camera.position.z = 65;
this.camera.position.z = 60;
this.renderer = new WebGLRenderer({ alpha: true });
this.domElement.appendChild(this.renderer.domElement);