Skip to main content

Looking Service

Description​

A collection of methods used to apply look mutations to agents.

Interface​

Type
ILookingService

Inherits​

Type
N/A

Properties​

NameType
locateServiceILocateService

Public Methods​

NameParametersReturn TypeDescription
LookingServiceILocateService locateServiceLookingServiceA constructor for LookingService.
FaceClosestItemVector3?ILookApplicatorReturns the coordinates (if present) of the closest item.
FaceClosestOwnedItemVector3?IMoveApplicatorReturns the coordinates (if present) of the closest item owned by the agent using ownership all.
FaceSameAsSelectedItemVector3?IAnimationServiceReturns the coordinates (if present) of the location 1.5f in front of the current agent goal item.
FaceSameAsClosestItemVector3?IAnimationServiceReturns the coordinates (if present) of the location 1.5f in front of the closest item to the agent.