The projectile is an Area3D so it can detect when bodies or areas enter it.

Connect the area_entered signal