godot-raycasting-queries
Installation
SKILL.md
Available Scripts
MANDATORY for common paths — read before implementing (do not improvise query APIs from memory):
- direct_space_state_raycast.gd — high-frequency
intersect_raywithout RayCast nodes.- query_exclusion_optimization.gd — RID exclude lists so casters never self-hit.
- shapecast_ground_detection.gd — footing / volume casts when thin rays tunnel or miss.
Do NOT Load every script below for one task. Open only the row that matches the decision table.
direct_space_state_raycast.gd
Expert usage of PhysicsDirectSpaceState2D/3D for bypassing node-based overhead in high-frequency queries.
shapecast_ground_detection.gd
Reliable ground/footing detection using volume-based ShapeCast instead of thin rays.
multiple_hit_piercing_ray.gd
Implementing piercing projectiles that detect and return multiple hits in a single line.