From 885f7ac2ef9e11a5a409b2bbeed6d4055ca0a9a1 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Fri, 20 Sep 2024 19:29:20 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B7=E3=83=BC=E3=83=B3=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E3=82=AA=E3=83=96=E3=82=B8=E3=82=A7=E3=82=AF=E3=83=88=E3=81=AE?= =?UTF-8?q?=20SpringboneRuntime?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../VRM10/Runtime/Components/Vrm10Instance/Vrm10Instance.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Assets/VRM10/Runtime/Components/Vrm10Instance/Vrm10Instance.cs b/Assets/VRM10/Runtime/Components/Vrm10Instance/Vrm10Instance.cs index daee18e60..3edce1673 100644 --- a/Assets/VRM10/Runtime/Components/Vrm10Instance/Vrm10Instance.cs +++ b/Assets/VRM10/Runtime/Components/Vrm10Instance/Vrm10Instance.cs @@ -117,6 +117,12 @@ namespace UniVRM10 internal Vrm10Runtime MakeRuntime(bool useControlRig) { + if (m_springBoneRuntime == null) + { + // deafult に fallback + // TODO: scene に配置した prefab に SpringRuntime をカスタムする手段 + m_springBoneRuntime = new Vrm10FastSpringboneRuntime(); + } return new Vrm10Runtime(this, useControlRig, m_springBoneRuntime); }