From c211199cf3d4dd7d05fc95bf6980298597e6ef7b Mon Sep 17 00:00:00 2001 From: ousttrue Date: Wed, 19 May 2021 14:00:33 +0900 Subject: [PATCH] fix Source --- Assets/VRM10/Runtime/Components/Constraint/VRM10Constraint.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/VRM10/Runtime/Components/Constraint/VRM10Constraint.cs b/Assets/VRM10/Runtime/Components/Constraint/VRM10Constraint.cs index 2a2039596..2f22258fb 100644 --- a/Assets/VRM10/Runtime/Components/Constraint/VRM10Constraint.cs +++ b/Assets/VRM10/Runtime/Components/Constraint/VRM10Constraint.cs @@ -51,7 +51,7 @@ namespace UniVRM10 else { var r = (TR.FromParent(ModelRoot) * m_src.ModelInitial).Rotation; - var t = (TR.FromParent(transform) * m_src.LocalInitial).Translation; + var t = (TR.FromParent(Source) * m_src.LocalInitial).Translation; return new TR(r, t); }