Interface
SentryCompOpt
:Options for the sentry component.
group
Components
subgroup
Component Types
direction
?: Vec2 | numberThe direction the sentry is pointing to. If undefined, direction has no influence.
fieldOfView
?: numberThe field of view of the sentry in degrees. If undefined, defaults to human fov of 200 degrees.
lineOfSight
?: booleanIf true, line of sight matters. This means that objects which are blocked from view by areas are invisible.
raycastExclude
?: string[]When using line of sight, the objects which are transparent for the ray. Include at least a tag identifying the sentry.
checkFrequency
?: numberThe frequency of checking, defaults to every second.