top of page

Is GameObject In Sight Node

Behavior Tree Editor

Unity

Description

The is gameobject in sight node uses an enemy line of sight component. If the specified object is in sight the return is success, otherwise the return is failure. The node has no children.

Fields/Buttons

  • Target GameObject (GameObject) - The gameobject that the line of sight component will look for.

  • Sight Sensor (AI Sensor) - The line of sight component that will be used.

Pipeline

Adding The Node:

Right click in the graph view of the behavior tree, select “IsGameObjectInSight” from the Node Menu.

bottom of page