Creating Dirt

Hey Unity Developers,

I want to movable dirt in my game, so I can move the dirt around with a bulldozer. How will I go about making the dirt? A Particle system, a terrain with procedural mesh geometry, or a bunch of spheres. Any comments would be helpful.
Ryan.

I think the most realistic way will be using VFX graph.otherwise you should fake this action or use cloth for simulating a pile of dirt

@CEEMSURESEARCHER
There is a sorta easy way to do this, without using physics, but it is kinda tough for me to explain in words.

Mesh deformation and particle effects.

If you try the sphere thingy you gonna either have a very small play area or 1 frame per hour or so.

Then why even reply?

:sweat_smile:

@SparrowsNest , I was just hoping to have a very small play area if I do it that approach. For mesh deformation and particle effects, it was a little outside of my expertise and didn’t know where to start. I don’t know how to calculate the new vertices once I take dirt out of the pile. Is it just you decrease the vertices in the y direction to mimic the dirt falling?

@BrandyStarbrite , can you at least try to explain? Or, do you have a scene example?

Cloth physics may be a way to build a pile of dirt. Then, maybe I can just autofill dirt in my bulldozer once I “picked” some up.

I will have to look into the VFX graph.