From dd53f1382d3c978e95046ee24e272c8e30453ca6 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Tue, 4 Jul 2023 16:41:29 +0900 Subject: [PATCH] =?UTF-8?q?localPosition=20=E3=81=AE=E9=96=93=E9=81=95?= =?UTF-8?q?=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/VRM10_Samples/VRM10Viewer/Motions/VrmAnimation.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/VRM10_Samples/VRM10Viewer/Motions/VrmAnimation.cs b/Assets/VRM10_Samples/VRM10Viewer/Motions/VrmAnimation.cs index a0992174b..2954251b5 100644 --- a/Assets/VRM10_Samples/VRM10Viewer/Motions/VrmAnimation.cs +++ b/Assets/VRM10_Samples/VRM10Viewer/Motions/VrmAnimation.cs @@ -28,7 +28,7 @@ namespace UniVRM10.VRM10Viewer { // experimental: set pose var animator = instance.GetComponent(); - animator.GetBoneTransform(HumanBodyBones.Hips).position = hips; + animator.GetBoneTransform(HumanBodyBones.Hips).localPosition = hips; foreach (var kv in map) { var t = animator.GetBoneTransform(kv.Key);