From ebdc26ce9fb3dab92f150af68605042f73f9fb0e Mon Sep 17 00:00:00 2001 From: Harald Csaszar Date: Fri, 24 Nov 2023 19:47:46 +0100 Subject: [PATCH] [unity] Minor code cleanup. --- .../spine-unity/Components/RootMotion/SkeletonRootMotionBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-unity/Assets/Spine/Runtime/spine-unity/Components/RootMotion/SkeletonRootMotionBase.cs b/spine-unity/Assets/Spine/Runtime/spine-unity/Components/RootMotion/SkeletonRootMotionBase.cs index f7825ec31..c4fb7039b 100644 --- a/spine-unity/Assets/Spine/Runtime/spine-unity/Components/RootMotion/SkeletonRootMotionBase.cs +++ b/spine-unity/Assets/Spine/Runtime/spine-unity/Components/RootMotion/SkeletonRootMotionBase.cs @@ -605,7 +605,7 @@ namespace Spine.Unity { // apply the constraint and sets Bone.ax, Bone.ay and Bone.arotation values. /// Update is based on Bone.x, Bone.y and Bone.rotation, so skeleton.UpdateWorldTransform() /// can be called afterwards without having a different starting point. - constraint.Update(Skeleton.Physics.Update); + constraint.Update(Skeleton.Physics.None); } }