makeLosCheck
此内容尚不支持你的语言。
makeLosCheck(
physics):LosCheck
Defined in: ai/perception/PerceptionPlugin.ts:91
Raycast-backed line of sight: occluded by anything hit before the target that is not one of the two bodies at the ends. A character’s collider sits at its feet, so a ray aimed at the origin passes through the target’s own capsule — counting that hides everyone approached from below.
Parameters
Section titled “Parameters”physics
Section titled “physics”Returns
Section titled “Returns”LosCheck