Skip to content

Commit

Permalink
fixed riggedPose.Chest
Browse files Browse the repository at this point in the history
Thanks for kuangfrank
  • Loading branch information
xianfei committed Oct 23, 2023
1 parent 4ef0195 commit d034e30
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions mocaprender/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// import setting utils
const globalSettings = window.parent.window.sysmocapApp.settings;

var hipRotationOffset = 0.2
var hipRotationOffset = 0.0

// set theme
document.body.setAttribute(
Expand Down Expand Up @@ -504,7 +504,7 @@ const animateVRM = (vrm, results) => {
0.07
);

rigRotation("Chest", riggedPose.Spine, 0.25, 0.3);
rigRotation("Chest", riggedPose.Chest, 0.25, 0.3);
rigRotation("Spine", riggedPose.Spine, 0.45, 0.3);

rigRotation("RightUpperArm", riggedPose.RightUpperArm);
Expand Down
4 changes: 2 additions & 2 deletions render/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// import setting utils
const globalSettings = window.parent.window.sysmocapApp.settings;

var hipRotationOffset = 0.2
var hipRotationOffset = 0.0

// set theme
document.body.setAttribute(
Expand Down Expand Up @@ -434,7 +434,7 @@ const animateVRM = (vrm, results) => {
0.07
);

rigRotation("Chest", riggedPose.Spine, 0.25, 0.3);
rigRotation("Chest", riggedPose.Chest, 0.25, 0.3);
rigRotation("Spine", riggedPose.Spine, 0.45, 0.3);

rigRotation("RightUpperArm", riggedPose.RightUpperArm);
Expand Down
2 changes: 1 addition & 1 deletion webserv/public/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ const animateVRM = (vrm, results) => {
0.07
);

rigRotation("Chest", riggedPose.Spine, 0.25, 0.3);
rigRotation("Chest", riggedPose.Chest, 0.25, 0.3);
rigRotation("Spine", riggedPose.Spine, 0.45, 0.3);

rigRotation("RightUpperArm", riggedPose.RightUpperArm);
Expand Down

0 comments on commit d034e30

Please sign in to comment.