- Home /
How to dig ground, remove soil and pour the soil somewhere else?
Hello Unity Developers,
I am trying to make a simple simulator for an excavator similar to the one shown in this video https://www.youtube.com/watch?v=5B4Yyvqfj1w&ab_channel=Veritasium
Solutions I tried
Tessellate and then modify the vertices in the shader - https://www.youtube.com/watch?v=Sr2KoaKN3mU&ab_channel=PeerPlay The problem is that the original mesh in the CPU doesn't change as tessellation and vertex modification all happen in the GPU. For me, the original mesh as well as the mesh collider should change so that physics works according to the actual geomety.
Deforming a Mesh at Runtime Based on Collisions - https://www.youtube.com/watch?v=l_2uGpjBMl4&t=32s&ab_channel=WorldofZero Here, everything happens in CPU which I think would be hectic for the CPU.
Please provide suggestions or changes to the solutions I have already tried or any alernate solution is also welcome.
Regarding simulating the soil, I have no idea from where to start. Any references or solutions I can start with are really appreciated.
Thank you!
Your answer
Follow this Question
Related Questions
Framerate Dependent Mesh Deformation 1 Answer
Strange behaviour when tearing interactive cloth. 1 Answer
speeding up reading in a large file 0 Answers
why not work unity tessellation on my system? 1 Answer
Get tessellation with a low poly look 0 Answers