How do I fix the foot position in Unreal Engine when the foot goal moves upward instead of sticking to the ground?

In this blueprint, I’m getting the position of the socket under the foot and I line trace to the ground, and I’m trying to set the location of the IK controller (goal) of the foot to the impact point (the impact point is the point in the world, but I’m not sure whether setting the goal position is based on the world’s location or if it’s relative to something else) :

But as you can see, the foot has gone upward instead of sticking to the ground. How do I fix this problem?

Here’s a tutorial on what you’re trying to achieve :blush:

After watching that, I understood that I had to make it a world location:

image

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.