# Best way to make an NPC character's feet lock/snap to the ground on uneven terrain?

**URL:** <https://forums.unrealengine.com/t/best-way-to-make-an-npc-characters-feet-lock-snap-to-the-ground-on-uneven-terrain/2044690>\
**Category:** Character & Animation\
**Tags:** root, locomotion, unreal-engine, question\
**Created:** [September 29, 2024, 2:00pm UTC](https://forums.unrealengine.com/t/best-way-to-make-an-npc-characters-feet-lock-snap-to-the-ground-on-uneven-terrain/2044690 "2024-09-29T14:00:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr\_AKIMBO](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_AKIMBO](https://forums.unrealengine.com/u/Mr_AKIMBO)\
**Post date:** [September 29, 2024, 2:00pm UTC](https://forums.unrealengine.com/t/best-way-to-make-an-npc-characters-feet-lock-snap-to-the-ground-on-uneven-terrain/2044690/1 "2024-09-29T14:00:58Z")

</div>

I have a bidep NPC who walks around the map using a root motion based locomotion system. I want the feet of the character to react to ground with uneven height and slope. I’m a little overwhelmed by the options: Foot Placement node, Control rig, Two Bone IK node, Leg IK node… What’s the most appropiate approach for what I’m trying to achieve?

---

<div class="post-metadata">

**Author:** ![VisAgilis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/visagilis/32/891043_2.png) [@VisAgilis](https://forums.unrealengine.com/u/VisAgilis)\
**Post date:** [September 29, 2024, 2:29pm UTC](https://forums.unrealengine.com/t/best-way-to-make-an-npc-characters-feet-lock-snap-to-the-ground-on-uneven-terrain/2044690/2 "2024-09-29T14:29:21Z")

</div>

You can consider following the steps in these videos:

- [https://www.youtube.com/watch?v=M-6CP8c3qfw](https://www.youtube.com/watch?v=M-6CP8c3qfw)
- [https://www.youtube.com/watch?v=cqI1nKnyzdg](https://www.youtube.com/watch?v=cqI1nKnyzdg)
- [https://www.youtube.com/watch?v=VRaOwDqbvIY](https://www.youtube.com/watch?v=VRaOwDqbvIY)

Here’s another one with less explanations but is a shorter video:

- [https://www.youtube.com/watch?v=vQja9X1noak](https://www.youtube.com/watch?v=vQja9X1noak)
