Sphere Trace Or Capsule Overlap In Godot
If you want to detect all overlapping bodies of a sphere moving along a line segment in Godot, you can use intersect_shape with a capsule oriented along the sphere's path.
Here's an example function you can use to do this in GDScript:
func get_overla...
blog.vortexbasis.com1 min read