OpenParable
Skip to content
← Back to skills

Godot Physics

Development
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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/game-development/skills/godot-physics/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/godot-physics, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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

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