EnhancedSphereLookahead MotionGraphCondition
Overview
The EnhancedSphereLookahead 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. The cast results are output to motion graph parameters for later use.
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. |
| Hit Point Output | Vector Parameter | An optional graph parameter to output the capsule cast hit point to. |
| Hit Normal Output | Vector Parameter | An optional graph parameter to output the capsule cast hit normal to. |
| Hit Transform Output | Transform Parameter | An optional graph parameter to output the capsule cast hit transform to. |