Revert 73f68c102d and reopen #2610

This commit is contained in:
Wojtek Figat
2024-05-20 18:37:15 +02:00
parent e527783e55
commit a69c8ce6a2

View File

@@ -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