Character component for first-person interaction detection, highlighting, and triggering. Bridges the character's camera view to the Interaction System via raycasting.
Architecture
Data Flow
Key Concepts
Concept
Description
SphereCast detection
Uses Physics.SphereCastNonAlloc with 0.05 radius for efficient interactable detection
Player-only highlighting
Highlight feedback only applies when the character is PossessedBy<Player>()
Distance sorting
Interactables are prioritized by a dot-product distance metric relative to camera direction
Arm rigs
Exposes ArmRig references for IK animation during interactions