I am making a game where the player gets chased by lava along a road.
From the road mesh i can access the points along each side. Currently i have an edge collider that moves along these points and once it reaches the player it's game over.
My problem is that i can't figure out how to make the lava follow the edge collider. Any ideas? I am using Unity.