Merge pull request #2101 from ousttrue/fix/pose_root_position

[VRM-animation][pose] localPosition の間違い
This commit is contained in:
ousttrue
2023-07-04 16:46:56 +09:00
committed by GitHub

View File

@@ -28,7 +28,7 @@ namespace UniVRM10.VRM10Viewer
{
// experimental: set pose
var animator = instance.GetComponent<Animator>();
animator.GetBoneTransform(HumanBodyBones.Hips).position = hips;
animator.GetBoneTransform(HumanBodyBones.Hips).localPosition = hips;
foreach (var kv in map)
{
var t = animator.GetBoneTransform(kv.Key);