I am making a combat based game, and I thought of adding destruction physics to my games environment to make it more original, but I am afraid it might cause a lot of lag.
Currently, my plan is to make a ton of 1,1,1 parts with JoinSurface on and have attacks in the game break the welds in a radius, but I wonder if that might cause lag or not. All I ask is for information on the best way to go about doing something like this, and the best way to have the least amount of lag as possible. Thanks for reading!
I think the best way would be to minimize the amount of parts using greedy meshing
only the destroyed things will have the 1 stud parts so it would minimize lag
Hey, little side note to this: I made a big platform for where the map will take place on which is entirely made of 1,1,1 cubes, but lag has become apparent, even from just this! Nothing is moving, all of the parts are anchored, and I don’t see how they could be causing lag when they are put under models and folders too. I am thinking about adding the destruction physics in the script and making new parts where the destruction should take place and changing the size of everything, but I have no clue how to do that and I can’t think of any other solutions or easier ways to handle this. Any help would be nice!