How to stop movement of a kinematic body at Navmesh 3D boundaries

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By vkouroub

Many greetings.
New Godot user here and i have a simple question.

I have a keyboard controlled kinematic body player and a simple 3D floor-plane. I’ve created a Navmesh on the floor and i was expecting my player to stop upon reaching the boundaries of the Navmesh, but instead he continues to move like nothing is there to stop him.

How can i achieve my player to be limited by moving only within the edges of the 3D Navmesh i’ve created?

Bill