RigidBody2D
A physics-simulated body that responds to forces, gravity, and collisions automatically.
Physics
No shortcutIntermediate6 min readQuick Reference
RigidBody2D
Godot EngineKeyboard Shortcut
N/A
Where to Find
Scene dock — Create New Node > Node2D > Physics
Best Used For
- ▸Define collision boundaries for game objects
- ▸Detect overlaps for pickups, damage zones, and triggers
- ▸Simulate realistic forces and gravity responses
Intermediate⏱ 30–60 minutes to master
Key Settings
Add:Forces:Properties:
RigidBody2D is controlled by the physics engine. It responds to gravity, forces, and impulses based on its mass, friction, and bounce properties.
Where to Find It
Found under Node2D > Physics. Requires CollisionShape2D child.
How to Use
- Add: Add RigidBody2D with CollisionShape2D child.
- Forces: Use
apply_force()orapply_impulse(). - Properties: Adjust Mass, Friction, Bounce, Gravity Scale.
Pro Tips
- Enable Continuous CD for fast-moving objects.
- Bodies at rest automatically sleep to save performance.
- Set Mode to Kinematic for manual control with collision callbacks.