How to make interactive foliage for all physics objects?

Hello everyone,

I’m trying to make interactive foliage using shaders. I search it on the Internet, but the solutions only work for one pawn (main character) by saving the player’s position in every tick and using the world offset node. Is there any way to make interactive foliage for all physics objects (main character, other characters, cars etc.) using shaders instead of using skeletal meshes?