change head pivot to baseline, close #97

This commit is contained in:
Haowei Wen 2022-01-08 01:18:48 +08:00
parent 819fdd5c3c
commit 9b0bdc46eb
1 changed files with 2 additions and 1 deletions

View File

@ -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