From 9b0bdc46ebf871e6e65c5057bf2f2ece2c705f26 Mon Sep 17 00:00:00 2001 From: Haowei Wen Date: Sat, 8 Jan 2022 01:18:48 +0800 Subject: [PATCH] change head pivot to baseline, close #97 --- src/model.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/model.ts b/src/model.ts index 834fca0..0a2471d 100644 --- a/src/model.ts +++ b/src/model.ts @@ -99,7 +99,8 @@ export class SkinObject extends Group { this.head = new BodyPart(headMesh, head2Mesh); this.head.name = "head"; this.head.add(headMesh, head2Mesh); - this.head.position.y = 4; + headMesh.position.y = 4; + head2Mesh.position.y = 4; this.add(this.head); // Body