I came up with the concept of a wavy carpet that flattens wherever the character stands on it. I used geometry nodes to create it and added the ability for multiple objects to affect the flattening of the carpet.