godot-physics

Installation
SKILL.md

Physics (4.7)

Check the engine first: project_inspect.py → physics_3d. New 4.6+ projects use Jolt. Older ones may still run GodotPhysics3D (DEFAULT). 2D always uses Godot's 2D engine. Code that touches physics goes in _physics_process (fixed tick, physics/common/physics_ticks_per_second, default 60).

Choose the body

Body Use for You control
CharacterBody2D/3D players, NPCs, anything with scripted movement velocity, then move_and_slide()
RigidBody2D/3D crates, debris, balls, physics props forces and impulses (apply_central_impulse) or _integrate_forces(state)
AnimatableBody2D/3D moving platforms, doors, elevators position via AnimationPlayer or a tween (sync_to_physics)
StaticBody2D/3D level geometry (constant_linear_velocity for conveyors) nothing
Area2D/3D triggers, hitboxes, pickups, gravity and wind zones signals and overlap queries
Never move a RigidBody by setting position each frame. Use forces, freeze, or PhysicsServer3D.body_set_state for teleports.
Installs
11
GitHub Stars
54
First Seen
9 days ago