Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
RayCastMult3D is a powerful and customizable multi-hit raycast node for Godot 4.x, designed to perform multiple sequential ray intersection checks between two points in 3D space. It supports body and area collisions, custom exclude lists, visual debugging, and flexible offset/margin settings. This plugin is especially useful for: Advanced shooting or projectile detection. Wall-penetrating sensors (multi-layer collision detection). Environmental scanning or line tracing. Physics debugging tools.
RayCastMult3D — Advanced Multi-Hit Raycast Utility for Godot 4.x
RayCastMult3D is a powerful and customizable multi-hit raycast node for Godot 4.x, designed to perform multiple sequential ray intersection checks between two points in 3D space.
It supports body and area collisions, custom exclude lists, visual debugging, and flexible offset/margin settings.
This plugin is especially useful for:
- Advanced shooting or projectile detection.
- Wall-penetrating sensors (multi-layer collision detection).
- Environmental scanning or line tracing.
- Physics debugging tools.
🚀 Features
- Multi-hit raycasting (detects multiple collision points along a single ray).
- Fully configurable collision parameters.
- Optional debug visualization (with editable material and mesh properties).
- Dynamic exclusion system (bodies, “from” node, “to” node).
- Editor warnings and safety checks.
- Lightweight and fully GDScript-based — no C++ extension needed.
📦 Installation
- Copy the
RayCastMult3D.gdscript into your project’saddons/folder. - Enable the plugin in Project Settings → Plugins → RayCastMult3D.
- Add the node
RayCastMult3Dto your 3D scene.
🧩 Usage Example
@onready var ray_mult := $RayCastMult3D
func _ready() -> void:
ray_mult.from = $Player
ray_mult.to = $Target
ray_mult.connect("intersect_ray", Callable(self, "_on_ray_hits"))
func _on_ray_hits(results: Array[RaycastMultResult]) -> void:
for hit in results:
print("Hit object:", hit.collider, "at position:", hit.position)
RayCastMult3D is a powerful and customizable multi-hit raycast node for Godot 4.x, designed to perform multiple sequential ray intersection checks between two points in 3D space. It supports body and area collisions, custom exclude lists, visual debugging, and flexible offset/margin settings. This plugin is especially useful for: Advanced shooting or projectile detection. Wall-penetrating sensors (multi-layer collision detection). Environmental scanning or line tracing. Physics debugging tools.
Reviews
Quick Information
RayCastMult3D is a powerful and customizable multi-hit raycast node for Godot 4.x, designed to perform multiple sequential ray intersection checks between two points in 3D space. It supports body and area collisions, custom exclude lists, visual debugging, and flexible offset/margin settings. This plugin is especially useful for: Advanced shooting or projectile detection. Wall-penetrating sensors (multi-layer collision detection). Environmental scanning or line tracing. Physics debugging tools.