The usual way is to use traces from the feet location downward to determine distance from ground. Then adjust the feet with FABRIK nodes in the Animgraph.
The usual way is to use traces from the feet location downward to determine distance from ground. Then adjust the feet with FABRIK nodes in the Animgraph.