ray-query-3d-picking-contract

Community

Deterministic 3D ray queries for picking.

AuthorDubDev720
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a reliable and deterministic way to perform 3D picking and line-of-sight checks in game development, ensuring consistent results regardless of when or how the query is executed.

Core Features & Use Cases

  • Precise Ray Casting: Utilizes Godot's Camera3D and PhysicsDirectSpaceState3D for accurate ray queries.
  • Deterministic Filtering: Ensures consistent collision masks, exclusions, and hit ordering.
  • Use Case: Implementing accurate mouse-based selection of objects in a 3D game scene or checking if a character has a clear line of sight to a target.

Quick Start

Use the ray-query-3d-picking-contract skill to perform a raycast from the center of the screen to detect the first object hit.

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: ray-query-3d-picking-contract
Download link: https://github.com/DubDev720/gdref/archive/main.zip#ray-query-3d-picking-contract

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.