Box Cast

Node description and basic instructions

Description

Casts the box along a ray and returns detailed information on 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/Box 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

Origin

Origin of the Box Cast

Direction

Direction in which to cast the box

Half Extents

Half the size of the box in each dimension

Max Distance

Max length of the cast (by default: infinity)

Culling Layer

Used to selectively ignore colliders when casting a Box 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