Search Results for

    Show / Hide Table of Contents

    Interface IKCCConfig

    Configuration for controlling KCC Movement.

    Namespace: nickmaltbie.OpenKCC.Utils
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IKCCConfig

    Properties

    AnglePower

    Angle power for decaying momentum when bouncing off a surface.

    Declaration
    float AnglePower { get; }
    Property Value
    Type Description
    Single

    CanSnapUp

    Can the player snap up steps during this movement.

    Declaration
    bool CanSnapUp { get; }
    Property Value
    Type Description
    Boolean

    ColliderCast

    Collider cast for checking what the player is colliding with.

    Declaration
    IColliderCast ColliderCast { get; }
    Property Value
    Type Description
    IColliderCast

    LayerMask

    Get the layer mask for computing player collisions.

    Declaration
    LayerMask LayerMask { get; }
    Property Value
    Type Description
    LayerMask

    MaxBounces

    Maximum bounces when moving the player.

    Declaration
    int MaxBounces { get; }
    Property Value
    Type Description
    Int32

    SkinWidth

    The character's collision skin width.
    This is dependant on the scale of the world, but should be a small, positive non zero value.
    Reference: CharacterController.skinWidth, Unity Documentation - https://docs.unity3d.com/ScriptReference/CharacterController-skinWidth.html Reference: Character Controllers: Character Volume, Nvidia PhysX SDK - https://docs.nvidia.com/gameworks/content/gameworkslibrary/physx/guide/Manual/CharacterControllers.html#character-volume

    Declaration
    float SkinWidth { get; }
    Property Value
    Type Description
    Single

    StepUpDepth

    Minimum depth required for a stair when moving onto a step.

    Declaration
    float StepUpDepth { get; }
    Property Value
    Type Description
    Single

    Up

    Position to start player movement from.

    Declaration
    Vector3 Up { get; }
    Property Value
    Type Description
    Vector3

    VerticalSnapUp

    Vertical snap up distance the player can snap up.

    Declaration
    float VerticalSnapUp { get; }
    Property Value
    Type Description
    Single
    In This Article
    Back to top OpenKCC Documentation