diff --git a/README.md b/README.md index e3f6d5f..a3fb7c4 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ - [x] Pose detection - [x] Face detection - [ ] Hand detection -- [ ] Environment selection +- [x] Environment selection - [x] Video, image upload - [x] Camera input - [x] Model selection diff --git a/src/MMDScene.tsx b/src/MMDScene.tsx index 418e70d..76f6990 100644 --- a/src/MMDScene.tsx +++ b/src/MMDScene.tsx @@ -240,7 +240,7 @@ function MMDScene({ const tiltAngle = Math.atan2(-headDir.y, forwardDir.length()) // Add a constant offset to the tilt angle to correct the head orientation - const tiltOffset = -Math.PI / 6 // Adjust this value as needed + const tiltOffset = -Math.PI / 5 // Adjust this value as needed const adjustedTiltAngle = tiltAngle + tiltOffset const horizontalQuat = Quaternion.FromLookDirectionLH(forwardDir, Vector3.Up())