I have this building:
Physically, the integrity of the building would become less stable towards the bottom of the building, towards the basement. How would I go about assembling a system which calculates the integrity at any specific point? Especially accounting for anything like a chunk being taken out of the building
It’s a pain to find resources online about this, I just don’t know how to really design a system like this
You could just get all the touching parts of part x then add it to a table with that you could calculate how much force you would need to break the joints of all the parts around it based on how many there are
In Bullets:
- Weld them together
- Turn anchored off – apart from Botttom parts
- Loop through every part and create a table of all it’s touching parts
- Make it so that a certain velocity of an object needs to be applied to that part based on how many parts are touching it
- If the velocity is here then break the welds.
I believe the most simplest and feasable would be to represent the building as a truss structure as it has been done before in other games such as the bridge building games. You can get the pinjoints from the weld using get connected parts
Otherwise you could look at other finite element analsis models (FEA) to calculate the structure.