PlayerInteractor
Class in SurvivEngine.Entities.Mobs.Player namespace
Inherits from SurvivEngine.Entities.EntityComponentBase
Class in SurvivEngine.Entities.Mobs.Player namespace
Inherits from SurvivEngine.Entities.EntityComponentBase
Component for sending player raycasts of various kinds.
Read-Only
The distance at which the player can interact with interactables.
Sends a raycast looking for entities within the player's range.
entityBase The entity found, if any.
Sends a raycast looking for hittable objects within the player's range.
hittable The hittable found, if any.
hitPosition If a hittable is found, the position where it was hit.
Sends a raycast looking for interactable objects within the player's range.
interactable The interactable found, if any.