Hello
I've been trying to implement a movement system where objects move at a fixed pace relative to the terrain they're currently traversing. The terrain itself is just a flat plane with different regions, lets say: grass, rock, mud.
I'd love to get some suggestions on how to handle this, as I haven't been able to come up with a workable solution. I've tried having a grid of 1x1 Quads that advertise their terrain type and let the object adjust its speed accordingly, but that didn't give the wanted effect as I don't want grid based movement.
For now I'm thinking of adding different types of friction materials (but the question would again be how? afaik one would need some kind of in-logic generator that generates a bunch of meshes tailored to the shape of each surface region, and assign a Physic Material to that) however this would probably not work since if force 'F' keeps you at a constant speed at material 'M' with a certain friction, you'll not achieve a constant speed on a material with a different friction. (If my physics isn't failing me)
Long story short: I have no idea how to create a flat terrain with different surface types, each affecting the object's movement speed.
Thanks for your time.