localPosition の間違い

This commit is contained in:
ousttrue
2023-07-04 16:41:29 +09:00
parent 6ba2cd21a7
commit dd53f1382d

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);