Dirt on wheels

Hello, i’m making some kind of racing game, and wanted to know, is it possible to code/blueprint “automatic” dirt in UE4?
For examlpe, the player is riding a car by really dirty road, i want the dirt to appear on the wheels and car body, so that other players (online) would be able to see the dirt.

So i have 3 questions:

  1. How to make the dirt appear “automatically”?

  2. How to “show” the dirt to the other players (i’m using the “dedicated” server for game)

  3. Is it possible to adjust some areas on the level, where the dirt must be placed? So player will get dirty wheels when he enters the dirty area/road?

hellow my friendd,

  1. one solution would be a mix of blended materials, decals and particles, you can line trace the material of the bottom surface and then apply the blending in your dynamic material instance as you want. you can hook in functions to check the negative z force on the tires to increase the value in your dynamic material instance or velocity based when player is braking.or more wetness if the environment is wet. decals for the tire marks and particles for dust, water, ice/snow effects
    then you need a rpc where you update the material depending on the setting to replicate to other players
  1. what you want to know is function replication ()

  2. yes… you decide the limits with your imagination.

i can prefer to watch at least all official UE4 tutorials and set yourself small projects with small problems to resolve for fast learning…
most people learned 50% by youtube watching and redoing and 50% by doing on theirself

theres much to do
good luck and happy developing

That’s awesome answer! For me, best way to learn something is running into a trouble and try to find a way out :slight_smile: And you have just pointed me the right door :slight_smile: Thanks.

thank you, you 're welcome :slight_smile:
just flow with your motivation and you will get it :slight_smile:
i often use youtube to get some inspiration what i could try… there are so many awesome ue dudes out there teaching you really everything!