CapsuleLookahead MotionGraphCondition
Overview
The CapsuleLookahead condition performs a cast of the CharacterController capsule 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. |
| Layer Mask | Layermask | The layers to check against. |
| Does Hit | Boolean | Is the codition true if the cast hits something or does not. |