How do you prevent RigidBodies from waking up automatically?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By aidanabat

Hello, I’ve been making a game using rigidBody2D’s as the nodes for the destructible ground. Recently, I’ve hit a snag that I’m not sure how to fix.

Whenever a new rigidBody2D gets placed with the others, it starts a chain reaction that wakes up all the others automatically. I’d like for the rigidBody2D’s to keep sleeping, even when coming into contact with another rigidBody2D. I’ve already tried to make it so that whenever the rigidBody2D sleeps, it turns to static mode, but it doesn’t seem to work.

I’ve attached a photo of the problem, where once it gets too overcrowded, the rigidBody2D’s never go to sleep again, since they all keep jittering each other.

Any help would be appreciated :smiley:
Picture of the problem

Your image won’t load :(. Can You use some antivirus neutral server to post it ?

Inces | 2022-01-22 09:31

:bust_in_silhouette: Reply From: SteveSmith

Remove the RigidBody from the scene (but store somewhere). Re-add it when needed.