Is Visible

Is Visible

Execute the child until the target position is visible from the target position. A target is visible if there is no nav mesh wall between the start and target position.

Success: When the child returns Success

Failure: When child node fails

Running: When the child is Running


Attributes

Attributes

Type

Description

Attributes

Type

Description

lockAgent

bool

If on, ensures no data on the agent is written simultaneously by nodes that have this option active.

startPosition

vector3

Start position

targetPosition

vector3

Target position

navMeshName

string

Navigation mesh name

extent

vector3

Extent used to project the positions onto the nav mesh.

Copyright © 2017, Toolchefs LTD.