Version: 2019.1

BoxcastCommandConstructor

Switch to Manual
public BoxcastCommand (Vector3 center, Vector3 halfExtents, Quaternion orientation, Vector3 direction, float distance, int layerMask);

Parameters

centerCenter of the box.
halfExtendHalf the size of the box in each dimension.
orientationRotation of the box.
directionThe direction in which to sweep the box.
distanceThe maximum length of the cast.
layerMaskA Layer mask that is used to selectively ignore colliders when casting a box.

Description

Creates a BoxcastCommand.