From a69c8ce6a2400a41cde5e2de39407dfa414f7dae Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Mon, 20 May 2024 18:37:15 +0200 Subject: [PATCH] Revert 73f68c102d9a84cbbd360c6ac53663c457b7686d and reopen #2610 --- Source/Engine/Animations/InverseKinematics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/Animations/InverseKinematics.cpp b/Source/Engine/Animations/InverseKinematics.cpp index 42e298ebf..2b3940147 100644 --- a/Source/Engine/Animations/InverseKinematics.cpp +++ b/Source/Engine/Animations/InverseKinematics.cpp @@ -113,7 +113,7 @@ void InverseKinematics::SolveTwoBoneIK(Transform& rootTransform, Transform& midJ newMidJointPos = rootTransform.Translation + projJointDist * toTargetDir + jointLineDist * bendDirection; } // TODO: fix the new IK impl (https://github.com/FlaxEngine/FlaxEngine/pull/2421) to properly work for character from https://github.com/PrecisionRender/CharacterControllerPro -#define OLD 1 +#define OLD 0 // Update root joint orientation { #if OLD