Overview

The Combat module provides a proximity-based targeting system. It allows a player to target characters (or other game objects) within a configurable range. This is achieved with two components: Targeter and Targetable.

When a player with a Targeter component approaches objects with the Targetable component attached, the player can press the Q key to lock onto the nearest available object. The Z and C keys are used to switch targets. Please note that these keys can be remapped.

Targeting demo scene