Godot Engine – Raycast shotgun tutorial
This quick tutorial shows you how to use multiple raycasts in the same physics frame in the Godot Engine. This is useful for raycast (also called hitscan) weapons like shotguns that fire multiple pellets at the same time. Here’s the problem: by default, this doesn’t work in Godot and only the last of multiple raycast […]