Search Results for

    Show / Hide Table of Contents

    Delegate MockColliderCast.DoRaycastInDirectionCallback

    Callback function for DoRaycastInDirection(Vector3, Vector3, Single, out IRaycastHit, Int32, QueryTriggerInteraction)

    Namespace: nickmaltbie.OpenKCC.Utils.ColliderCast
    Assembly: cs.temp.dll.dll
    Syntax
    public delegate void DoRaycastInDirectionCallback(Vector3 source, Vector3 direction, float distance, out IRaycastHit hit, int layerMask, QueryTriggerInteraction queryTriggerInteraction, float skinWidth);
    Parameters
    Type Name Description
    Vector3 source

    Source point to check from.

    Vector3 direction

    Direction to search for step.

    Single distance

    Distance to search for step ahead of player.

    IRaycastHit hit

    Information about hit.

    Int32 layerMask

    Layer mask for checking which objects to collide with.

    QueryTriggerInteraction queryTriggerInteraction

    Configuration for QueryTriggerInteraction when solving for collisions.

    Single skinWidth

    Buffer around player when casting object.

    In This Article
    Back to top OpenKCC Documentation