godot-2d-physics
CommunityMaster Godot 2D collision and physics.
Authorthedivergentai
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides expert guidance and reusable scripts to effectively implement and manage 2D physics, collision detection, trigger zones, and raycasting within the Godot Engine, preventing common pitfalls and optimizing performance.
Core Features & Use Cases
- Collision Layer/Mask Management: Understand and implement bitmasking for precise collision filtering.
- Area2D Triggers: Handle overlapping bodies efficiently and prevent duplicate signal fires.
- Raycasting: Implement line-of-sight, ground detection, and hitscan mechanics.
- Manual Physics Queries: Perform advanced spatial queries using
PhysicsDirectSpaceState2D. - Use Case: Implement a player character that can only collide with the environment and enemies, but not with its own projectiles, using correct collision layers and masks.
Quick Start
Use the godot-2d-physics skill to set up collision layers and masks for a player character that should detect enemies and world geometry.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: godot-2d-physics Download link: https://github.com/thedivergentai/gd-agentic-skills/archive/main.zip#godot-2d-physics Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.