Aim Can Shoot At Point
Checks whether a shooter can fire at a world-space point using range, cone angle, and optional line of sight.
| Parameter | Description |
|---|---|
| Shooter | Shooter transform/GameObject. Uses forward direction as aim direction. |
| Aim Point | World-space target point to test. |
| Max Range | Maximum shoot distance. Set 0 for unlimited. |
| Fire Cone Deg | Firing cone half-angle in degrees. |
| Shooter Local Offset | Optional local offset (for example muzzle position). |
| Require Line Of Sight | If true, raycasts to ensure no obstacle blocks the shot. |
| Obstacle Layers | Layer mask used for line-of-sight raycast blocking. |
| Ignore Triggers | If true, trigger colliders are ignored in line-of-sight checks. |
| Store Can Shoot | Optional output bool result. |
| Store Aim Angle Deg | Optional output aim angle in degrees. |
| Store Distance | Optional output distance to target point. |