Box Cast
Node description and basic instructions
Last updated
Node description and basic instructions
Last updated
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.
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
Value of message
Argument
Argument of message in