# Collision Shapes A circle and a box body falling onto a static floor. ```{raw} html ▶ Run in browser ``` **Tags:** `2d` `physics` `collision` `rigidbody` Two dynamic PhysicsBody2D nodes (one with a CircleShape2D collider, one with a RectangleShape2D collider) fall under gravity and come to rest on a STATIC PhysicsBody2D floor. The Physics2DWorld resolves the contacts automatically, so each body settles exactly on top of the floor. ## What it demonstrates - PhysicsBody2D(DYNAMIC) with two collider kinds: CircleShape2D and RectangleShape2D. - PhysicsBody2D(STATIC) as an immovable floor the dynamic bodies rest against. - Automatic gravity + impulse-based contact response from the Physics2DWorld. - Different shapes settling at the correct height (floor top minus their extent). Controls: R - Reset the bodies back to their drop positions ESC - Quit ## Source ```{literalinclude} ../../examples/features/2d/collision_shapes.py :language: python :linenos: ```