private float acceleration | Acceleration towards the path. |
private bool canSearchAgain | False while a path request is waiting for its result. |
private float endDistance | Backing field for EndReachedDistance. |
private float endDistanceSquared | Squared end distance used for the reached checks. |
private LayerMask groundMask | Layers the ground raycast hits. |
private PathInterpolator interpolator | Tracks the walker's position along the current path. |
private float lastRepath | Time of the last path request. |
private float minimunDistance | Unused minimum distance setting. |
private float minTurn | Smallest share of sideways acceleration kept when turning. |
private MonoModifier monoModifier | Path modifier on the same object, enabled with the walker. |
private IMovementPlane movementPlane | Movement plane of the graph the path is on. |
private Path path | The current path from the Seeker. |
private float pickNextWaypointDist | How far ahead along the path to aim. |
private float repathRate | Seconds between path searches. |
private Rigidbody rigidbody | Rigidbody moved with MovePosition. |
private float rotationSpeed | Turn speed in degrees per second. |
private Coroutine searchPath | The running path search coroutine. |
private Seeker seeker | The A* Seeker that finds paths. |
private float sharpTurn | How sharply the walker turns, from 0 to 1. |
private float slowdownDistance | Distance from the end at which the walker starts slowing. |
private bool startHasRun | True once Start has run, so searching can begin. |
private Transform target | Backing field for Target. |
private Vector3? targetedPosition | Fixed position to walk to when there is no Target. |
private Vector3 targetPoint | The point on the path being steered at. |
private Transform transform | Cached transform. |
private float TurningPerpendicularRatio | How much sideways acceleration is kept when turning, from sharpTurn and minTurn. |
private float verticalVelocity | Vertical speed, reset when the ground ray hits. |