From 4168ae302df906e18d1bbc5edb71e2d9f0484f42 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Wed, 21 Sep 2022 14:13:58 +0900 Subject: [PATCH] =?UTF-8?q?SpringBone=20=E3=81=AE=E3=82=AB=E3=83=97?= =?UTF-8?q?=E3=82=BB=E3=83=AB=E3=82=B3=E3=83=A9=E3=82=A4=E3=83=80=E3=83=BC?= =?UTF-8?q?=E3=81=AE=E5=BA=A7=E6=A8=99=E5=A4=89=E6=8F=9B=E6=BC=8F=E3=82=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/VRM10/Runtime/IO/Vrm10Exporter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs b/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs index 39a7ba0f2..c51f2064f 100644 --- a/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs +++ b/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs @@ -315,8 +315,8 @@ namespace UniVRM10 shape.Capsule = new UniGLTF.Extensions.VRMC_springBone.ColliderShapeCapsule { Radius = z.Radius, - Offset = new float[] { z.Offset.x, z.Offset.y, z.Offset.z }, - Tail = new float[] { z.Tail.x, z.Tail.y, z.Tail.z }, + Offset = ReverseX(z.Offset), + Tail = ReverseX(z.Tail), }; break; }