Hey guys this is my first post
so please excuse my noobiness,
In my program I generate a 2 dimensional plane consisting out of small adjacent cubes of size 1. Right now I have a 30*30 grid of adjacent cubes with a static ground beneath. If I exert a force on 1 of the cubes it starts a chain reaction and eventually causes all 900 cubes to move about, which results in 5 fps :P. So is there any way I can stop the chain reaction after a radius of x blocks? Like toggling objects to act dynamically within a certain radius of the impact point and having all other blocks be static by default? Furthermore id like gravity to be enabled for the collisions, but if enable gravity for all 900 of them, even though the cubes are at rest,my game runs at 5 fps again (why is that?). So following the same idea as before is there some way I can toggle gravity for all cubes involved in collision within a predefined radius?
Thanks!