Hello,
Anyone know if I can have a different friction values over areas of a plane or mesh? Let’s say I want ice over one part and gradually increase friction to another part?
Thanks
Hello,
Anyone know if I can have a different friction values over areas of a plane or mesh? Let’s say I want ice over one part and gradually increase friction to another part?
Thanks
The mesh should be split on two. Physics properties are handled by the PhysicsMaterial asset, which can be assigned to one MeshCollider, which can be applied to a single mesh only. So having different physics properties require a mesh per physics material.
Another solution is dynamically modifying the properties of the PhysicsMaterial assigned to the mesh based on the player’s position. This way you could make the properties to gradually change. This works only if the player is the only physically driven object in contact with that mesh though.