PerceiverData
此内容尚不支持你的语言。
Defined in: ai/perception/components.ts:14
Properties
Section titled “Properties”facingAxis
Section titled “facingAxis”facingAxis:
FacingAxis
Defined in: ai/perception/components.ts:20
Which of the entity’s own axes the cone points down — see FacingAxis.
fovDegrees
Section titled “fovDegrees”fovDegrees:
number
Defined in: ai/perception/components.ts:18
Field-of-view cone in degrees; 360 = omnidirectional.
losLayers
Section titled “losLayers”losLayers:
number
Defined in: ai/perception/components.ts:27
Physics layers the line-of-sight ray may hit (3D only; 0 = every layer). A ray cast from inside the observer’s own body hits it first and the check has to let that through, so a 3D scene keeps sight honest by casting only against the layers that actually block sight.
range:
number
Defined in: ai/perception/components.ts:16
Sight range in world pixels.