Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

godot-physics

Skill by gamedev-skills

Explains the Godot 4.7 physics API for 2D and 3D projects. It covers body types, collision layers and masks, Area overlap signals, raycasts, and Jolt Physics differences. Aimed at Godot developers configuring collisions.

  • Score 94
  • 11k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install godot-physics

Built from the published package, never by AI.

git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills /tmp/awesome-gamedev-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-gamedev-agent-skills/skills/godot/godot-physics ~/.claude/skills/godot-physics

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install godot-physics in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill covers the Godot 4.7 physics API for 2D and 3D projects. It explains how to pick a body type (StaticBody, AnimatableBody, RigidBody, CharacterBody or Area), set collision layers and masks, detect overlaps with Area signals, and cast rays with RayCast nodes or direct space-state queries. It also covers Jolt Physics, the default 3D engine for projects created in Godot 4.6 or later.

It gives a troubleshooting list for common problems such as objects passing through each other, body_entered never firing, and rays hitting the caster. It includes a headless test pattern that runs under Godot's --headless mode and checks that an Area sees a body. It is aimed at developers building Godot games who need to configure collisions and physics queries.

Written from the project's SKILL.md and checked against it.

What it can do

  • Body type selectionChooses between StaticBody, AnimatableBody, RigidBody, CharacterBody and Area for a scene.
  • Collision layers and masksSets layer and mask bits so the right objects collide, with named layers in project.godot.
  • Overlap detectionUses Area2D and Area3D signals such as body_entered and area_entered for triggers and hurtboxes.
  • RaycastsCasts rays with RayCast2D/3D nodes or one-shot direct_space_state queries.
  • RigidBody forcesApplies impulses and forces to a RigidBody and safely teleports it inside the solver step.
  • Headless physics testsProvides a test script pattern that checks physics behavior under Godot's --headless mode.
  • Jolt Physics differencesLists 3D Jolt differences in joints, ray face indices, kinematic contacts and margins.

What you need

  • Godot 4.7 project
  • Godot binary for running headless tests

Try asking

  • Set up collision layers so my player hits walls but not enemies
  • Detect when the player enters a hurtbox Area2D in Godot
  • Cast a ray down from my character to check for ground

Good to know

  • Targets Godot 4.7; version notes cover 4.6 and 4.7 changes.
  • CharacterBody movement is covered by a separate skill.
  • Jolt differences apply only to 3D projects; 2D uses Godot's own engine.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/godot/godot-physics/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md10 KB
  • references/bodies-and-queries.md4 KB

Alternatives to godot-physics

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

godot-physics: common questions

Why does body_entered never fire for my RigidBody?

The source says a RigidBody's own body_entered only fires when contact_monitor is true and max_contacts_reported is greater than 0. Area monitoring must also be on.

Which 3D physics engine does Godot 4.7 use by default?

Jolt Physics is the default 3D engine for projects created in Godot 4.6 or later. Older projects keep GodotPhysics3D until they are switched.

Why does my raycast hit the object that cast it?

The source suggests excluding the caster's RID with query.exclude, which takes an Array of RIDs rather than nodes.

How do I install godot-physics?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is godot-physics free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is godot-physics safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to godot-physics?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

godot-physics Install

Add to stack

Loading.