Hello, is there any way to make this not happen?
when creating a new rigid body and falls to the infinite, apply DestroydBody when it passes the value -10.
some bodies when they fall, no problem, but when many bodies, generates an error
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index.
Is there any way to fix it? the intention is to remove the bodies that do not use so that they do not consume resources.
DestroyBody question.v4p (41.5 kB)