Hello
I was wondering if anyone could help me figure out how to script a way to “deform” a rock when it’s hit.
For example, if a player clicks on the corner of the rock, causing it to be hit, only that corner would be damaged. After a few hits, the corner would break away, affecting just a small radius around the impact.
This should be possible for any part of the rock, whether it’s the corner, the middle, or elsewhere.
I’m looking for ideas on how to create something like this. I’m not sure if using unions (negate and union) through scripts would be the best approach, or if there might be more efficient and performant methods.
I’ve attached an image to show what I mean.
Thanks!!!