Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when building player movement — CharacterBody2D/3D patterns, movement physics, and common movement recipes
82% 86%+5 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 18 of 22 without it.
This test ran on v2. v4 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
All examples target Godot 4.3+ with no deprecated APIs. GDScript is shown first, then C#.
Related skills: physics-system for RigidBody, Area, raycasting, and collision shapes, 2d-essentials for TileMaps, parallax, and 2D lighting, 3d-essentials for CharacterBody3D and 3D movement setup, state-machine for movement state management, camera-system for camera follow and shake, component-system for hitbox/hurtbox integration, animation-system for animation driven by movement state, input-handling for InputMap actions and controller support, ai-navigation for enemy movement and pathfinding.
| Body Type | Use For | Physics Control | Notes |
|---|---|---|---|
CharacterBody2D/3D | Player, enemies, NPCs, platformers, top-down, FPS | Manual (full) | You control velocity; move_and_slide() handles collisions; predictable, responsive game feel |
RigidBody2D/3D | Projectiles, props, debris, bouncing objects | Engine-driven | Physics engine applies forces; harder to control precisely. For a bouncing projectile set linear_velocity once and let physics resolve bounces |
Rule of thumb: Use CharacterBody when you need tight, responsive control. Use RigidBody when you want realistic physics simulation.
Every physics frame follows this order:
1. Read input → get axis/action values
2. Apply forces → gravity, friction, acceleration
3. Modify velocity → move_toward, lerp, clamp
4. move_and_slide() → engine resolves collisions, updates position
5. Post-movement state → check is_on_floor(), is_on_wall(), landing events
Always put this loop in _physics_process(delta), never _process(delta).
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.