Line Cast

Node description and basic instructions

Description

Casts a line from start to end and returns detailed information about what was hit.

bool True, if any intersections were found.

To create it, right-click on free space in AI Tree inspector and select Create Node/Tasks/Physics/Line Cast.

This task node has a number of fields, that are highlighted in picture below.

Fields

NameDescription

Node Name

Name of node

Ignore Abort Self

Whether node ignores abort self or not

Start

Origin of the Line Cast

End

End of the Line Cast

Culling Layer

Used to selectively ignore colliders when casting a Line Cast

Query Trigger Interaction

Specifies whether this query should hit Triggers

Message

NameDescription

Message

Value of message

Argument

Argument of message in Blackboard

Last updated