Physics & Collision

Community

Master Godot 4 physics and collisions.

Authorftnilsson
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides comprehensive guidance on implementing and managing physics interactions within Godot 4 projects, enabling developers to create dynamic and responsive gameplay mechanics.

Core Features & Use Cases

  • Physics Body Types: Understand and utilize StaticBody, CharacterBody, RigidBody, and Area nodes for various game elements.
  • Collision Layers & Masks: Configure and manage collision layers for efficient and accurate interaction detection.
  • Raycasting & Shape Queries: Implement line-of-sight checks, ground detection, and overlap detection using both persistent RayCast nodes and one-shot space queries.
  • RigidBody Best Practices: Apply forces and impulses correctly for physics-driven objects.
  • Use Case: Implement a combat system where player attacks (projectiles) correctly detect and damage enemies, while environmental objects like crates react realistically to physics forces.

Quick Start

Configure collision layers in Project Settings and use the provided GDScript examples to set up Area nodes for trigger zones.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Physics & Collision
Download link: https://github.com/ftnilsson/agent-cli/archive/main.zip#physics-collision

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.