How to remove all velocity for all prefab/clone objects in the scene

Hi guys,

I’ve been looking through the forums for many examples to remove velocity from all objects in the scene. Currently, all my objects that have velocity are prefab clones.

The examples I’ve come by is only explaining how to remove velocity from one object at a time. I need all velocity from every single object to be removed in the scene to create the effect of everything frozen in place.

Does anyone know an efficient method in doing so, I do not want to timescale = 0f to stop it because I have a coroutine running so after 2 seconds it would change to game over scene. Or is the only option in zeroing out the velocity of every object one by one.

Thanks in advance!

Keep a list of all those objects, for loop, bingo :wink: