Skip to content

Commit

Permalink
rotate bone instead of vrm scene
Browse files Browse the repository at this point in the history
  • Loading branch information
memelotsqui committed Jul 19, 2024
1 parent 295832b commit 424da34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/library/characterManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,8 @@ export class CharacterManager {

// Rotate model 180 degrees
if (vrm.meta?.metaVersion === '0'){
VRMUtils.rotateVRM0( vrm );
vrm.humanoid.humanBones.hips.node.parent.rotateY(3.14159);
//VRMUtils.rotateVRM0( vrm );
console.log("Loaded VRM0 file ", vrm);
vrm.scene.traverse((child) => {
if (child.isSkinnedMesh) {
Expand Down

0 comments on commit 424da34

Please sign in to comment.