How to constrain motion controller pawn to Navmesh

Hello!
I am trying to constrain my agent to the navmesh bounds volume (VR game). I’ve changed the player navigation to thumbstick (based on Resident Evil’s movement) with degree skipping camera rotation.
However, without teleportation as the main means of locomotion, the navmesh has no effect on the player, and the player can drift off into nothing. I’ve heard setting a constraint from the player to the navmesh is possible.
Can anyone help with this?