Search Results for

    Show / Hide Table of Contents

    Class KaijuAgentsEvade

    Standalone evade steering extension methods.

    Inheritance
    System.Object
    KaijuAgentsEvade
    Namespace: KaijuSolutions.Agents.Extensions
    Syntax
    public static class KaijuAgentsEvade

    Methods

    Evade(Component, Component, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Component target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Component, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Component target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Component, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Component target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Component, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Component target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Component, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Component target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Component, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Component target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Component, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Component target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Component, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Component target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Component, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Component target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Component, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Component target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, GameObject, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, GameObject target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, GameObject, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, GameObject target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, GameObject, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, GameObject target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, GameObject, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, GameObject target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, GameObject, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, GameObject target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, GameObject, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, GameObject target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, GameObject, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, GameObject target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, GameObject, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, GameObject target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, GameObject, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, GameObject target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, GameObject, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, GameObject target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Transform, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Transform target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Transform, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Transform target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Transform, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Transform target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Transform, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Transform target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Transform, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Transform target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Transform, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Transform target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Transform, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Transform target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Transform, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Transform target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Transform, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Transform target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Transform, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Transform target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector2, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector2 target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector2, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector2 target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector2, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector2 target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector2, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector2 target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector2, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector2 target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector2, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector2 target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector2, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector2 target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector2, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector2 target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector2, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector2 target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector2, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector2 target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector3, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector3 target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector3, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector3 target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector3, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector3 target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector3, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector3 target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector3, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector3 target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector3, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector3 target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector3, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector3 target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector3, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector3 target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector3, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector3 target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Component, Vector3, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Component position, Vector3 target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Component position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Component, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Component target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Component, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Component target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Component, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Component target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Component, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Component target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Component, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Component target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Component, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Component target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Component, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Component target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Component, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Component target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Component, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Component target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Component, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Component target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, GameObject, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, GameObject target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, GameObject, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, GameObject target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, GameObject, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, GameObject target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, GameObject, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, GameObject target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, GameObject, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, GameObject target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, GameObject, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, GameObject target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, GameObject, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, GameObject target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, GameObject, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, GameObject target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, GameObject, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, GameObject target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, GameObject, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, GameObject target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Transform, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Transform target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Transform, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Transform target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Transform, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Transform target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Transform, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Transform target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Transform, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Transform target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Transform, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Transform target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Transform, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Transform target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Transform, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Transform target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Transform, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Transform target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Transform, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Transform target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector2, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector2 target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector2, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector2 target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector2, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector2 target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector2, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector2 target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector2, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector2 target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector2, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector2 target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector2, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector2 target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector2, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector2 target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector2, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector2 target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector2, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector2 target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector3, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector3 target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector3, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector3 target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector3, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector3 target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector3, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector3 target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector3, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector3 target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector3, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector3 target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector3, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector3 target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector3, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector3 target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector3, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector3 target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(GameObject, Vector3, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this GameObject position, Vector3 target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    GameObject position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Component, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Component target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Component, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Component target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Component, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Component target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Component, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Component target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Component, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Component target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Component, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Component target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Component, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Component target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Component, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Component target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Component, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Component target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Component, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Component target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, GameObject, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, GameObject target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, GameObject, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, GameObject target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, GameObject, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, GameObject target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, GameObject, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, GameObject target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, GameObject, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, GameObject target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, GameObject, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, GameObject target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, GameObject, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, GameObject target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, GameObject, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, GameObject target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, GameObject, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, GameObject target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, GameObject, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, GameObject target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Transform, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Transform target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Transform, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Transform target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Transform, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Transform target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Transform, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Transform target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Transform, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Transform target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Transform, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Transform target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Transform, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Transform target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Transform, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Transform target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Transform, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Transform target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Transform, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Transform target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector2, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector2 target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector2, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector2 target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector2, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector2 target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector2, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector2 target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector2, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector2 target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector2, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector2 target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector2, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector2 target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector2, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector2 target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector2, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector2 target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector2, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector2 target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector3, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector3 target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector3, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector3 target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector3, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector3 target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector3, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector3 target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector3, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector3 target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector3, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector3 target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector3, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector3 target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector3, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector3 target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector3, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector3 target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Transform, Vector3, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Transform position, Vector3 target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Transform position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Component, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Component target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Component, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Component target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Component, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Component target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Component, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Component target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Component, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Component target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Component, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Component target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Component, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Component target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Component, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Component target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Component, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Component target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Component, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Component target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, GameObject, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, GameObject target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, GameObject, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, GameObject target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, GameObject, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, GameObject target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, GameObject, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, GameObject target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, GameObject, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, GameObject target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, GameObject, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, GameObject target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, GameObject, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, GameObject target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, GameObject, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, GameObject target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, GameObject, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, GameObject target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, GameObject, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, GameObject target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Transform, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Transform target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Transform, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Transform target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Transform, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Transform target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Transform, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Transform target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Transform, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Transform target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Transform, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Transform target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Transform, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Transform target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Transform, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Transform target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Transform, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Transform target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Transform, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Transform target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector2, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector2 target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector2, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector2 target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector2, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector2 target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector2, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector2 target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector2, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector2 target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector2, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector2 target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector2, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector2 target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector2, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector2 target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector2, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector2 target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector2, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector2 target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector3, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector3 target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector3, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector3 target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector3, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector3 target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector3, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector3 target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector3, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector3 target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector3, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector3 target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector3, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector3 target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector3, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector3 target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector3, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector3 target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector2, Vector3, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector2 position, Vector3 target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector2 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Component, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Component target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Component, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Component target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Component, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Component target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Component, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Component target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Component, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Component target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Component, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Component target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Component, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Component target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Component, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Component target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Component, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Component target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Component, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Component target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Component target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, GameObject, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, GameObject target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, GameObject, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, GameObject target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, GameObject, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, GameObject target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, GameObject, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, GameObject target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, GameObject, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, GameObject target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, GameObject, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, GameObject target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, GameObject, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, GameObject target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, GameObject, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, GameObject target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, GameObject, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, GameObject target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, GameObject, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, GameObject target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    GameObject target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Transform, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Transform target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Transform, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Transform target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Transform, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Transform target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Transform, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Transform target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Transform, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Transform target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Transform, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Transform target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Transform, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Transform target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Transform, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Transform target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Transform, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Transform target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Transform, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Transform target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Transform target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector2, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector2 target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector2, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector2 target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector2, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector2 target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector2, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector2 target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector2, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector2 target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector2, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector2 target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector2, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector2 target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector2, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector2 target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector2, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector2 target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector2, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector2 target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector2 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector3, Component, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector3 target, Component previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector3, Component, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector3 target, Component previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Component previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector3, GameObject, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector3 target, GameObject previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector3, GameObject, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector3 target, GameObject previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    GameObject previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector3, Transform, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector3 target, Transform previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector3, Transform, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector3 target, Transform previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Transform previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector3, Vector2, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector3 target, Vector2 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector3, Vector2, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector3 target, Vector2 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector2 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector3, Vector3, Single, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector3 target, Vector3 previous, float speed, float delta, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    System.Single delta

    The time since the last recorded position.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    Evade(Vector3, Vector3, Vector3, Single, out Vector2)

    Calculate a evade behaviour.

    Declaration
    public static Vector2 Evade(this Vector3 position, Vector3 target, Vector3 previous, float speed, out Vector2 future)
    Parameters
    Type Name Description
    Vector3 position

    The current position of the instance to calculate the movement for.

    Vector3 target

    The target to move in relation to.

    Vector3 previous

    The previous position of the target.

    System.Single speed

    The maximum speed that the position can update at.

    Vector2 future

    The predicted future position.

    Returns
    Type Description
    Vector2

    The calculated movement.

    In This Article
    Back to top MIT License © 2026 Kaiju Solutions Inc.