From 297b58501268daee6b6d686420ffcb088ebb879b Mon Sep 17 00:00:00 2001 From: ousttrue Date: Wed, 19 May 2021 13:56:30 +0900 Subject: [PATCH] source position --- 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 4f4ef3b59..2a2039596 100644 --- a/Assets/VRM10/Runtime/Components/Constraint/VRM10Constraint.cs +++ b/Assets/VRM10/Runtime/Components/Constraint/VRM10Constraint.cs @@ -46,7 +46,7 @@ namespace UniVRM10 case ObjectSpace.model: if (m_src == null) { - return TR.FromWorld(ModelRoot); + return new TR(ModelRoot.rotation, Source.position); } else {