SphereLookahead MotionGraphCondition
Overview
The SphereLookahead condition performs a spherecast from the specified point on the character and based on either its movement, the direction it's facing, or the input direction.
Inspector

Properties
| Name | Type | Description |
|---|---|---|
| Lookahead | Dropdown | How the lookahead direction is calculated. The available options are:
|
| Lookahead Time | Float | When using the Velocity lookahead types, the distance is based on velocity x time. |
| Lookahead Distance | Float | The cast distance when using the Direction or Input lookahead types. |
| Source Height | Float | The point on the character capsule to cast from. 0 is the base of the capsule centerline. 1 is the top of the capsule centerline. |
| Layer Mask | Layermask | The layers to check against. |
| Does Hit | Boolean | Is the codition true if the cast hits something or does not. |