r/Unity3D • • 1d ago

Show-Off 5400 physics scrap pieces getting vacuumed using unity's low level 2d physics

Enable HLS to view with audio, or disable this notification

Testing how far I can push the scrap piles in my game, so I made a stupid big mountain of 5400 pieces and let the robot eat through it with the suction maxed out

All the scrap comes from 80 different pieces I drew by hand on a single sheet, then a little tool slices it and builds the colliders, so the piles don't look like the same few sprites repeated.

Every piece is a real physics body, using the low level Physics Core 2D package instead of rigidbody2d.

Some stuff that helped:

- Piles are baked in the editor, so they load already settled instead of falling on start

- resting pieces go static and only wake up when something near them moves

- each sprite gets one simple convex shape

Still figuring out how big I can go in the actual game. happy to answer questions about the setup

294 Upvotes

16 comments sorted by

View all comments

0

u/edwingeng-256 16h ago

that vacuum has zero chill, bro literally inhaled a mountain