# Godot Physics

> Godot Physics is an Agent Skill for development published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Godot physics skill for rigid bodies, areas, collision layers, and raycasting.

- Skill name: `godot-physics`
- Category: [Development](https://www.openparable.com/skill/development/1)
- Source: https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/game-development/skills/godot-physics/SKILL.md
- Repository: a5c-ai/babysitter (1,548 GitHub stars when collected)

## SKILL.md

# Godot Physics Skill

Physics system implementation for Godot Engine.

## Overview

This skill provides capabilities for implementing physics-based gameplay in Godot.

## Capabilities

- Configure RigidBody2D/3D
- Set up collision layers and masks
- Implement raycasting and shape casting
- Handle Area2D/3D triggers
- Configure physics materials

## Usage Patterns

```gdscript
extends RigidBody2D

func _physics_process(delta):
    var space_state = get_world_2d().direct_space_state
    var query = PhysicsRayQueryParameters2D.create(position, target)
    var result = space_state.intersect_ray(query)
```

## References

- [Godot Physics](https://docs.godotengine.org/en/stable/tutorials/physics/)

---

Source: https://www.openparable.com/skill/development/godot-physics (OpenParable). Cite the canonical URL above.
