Search Results for

    Show / Hide Table of Contents

    Class MoleMovementEngine

    MovementEngine for the mole character to allow the player to walk up and down walls directly.

    Inheritance
    Object
    MoleMovementEngine
    Namespace: nickmaltbie.OpenKCC.MoleKCCSample
    Assembly: cs.temp.dll.dll
    Syntax
    public class MoleMovementEngine : KCCMovementEngine

    Properties

    AnglePower

    Have no angle decay in movement up walls.

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

    GroundNormal

    Surface normal for overriding up direction.

    Declaration
    protected Vector3 GroundNormal { get; set; }
    Property Value
    Type Description
    Vector3

    MaxSnapDownSpeed

    Max speed that the player can snap down at.

    Declaration
    public override float MaxSnapDownSpeed { get; }
    Property Value
    Type Description
    Single

    Up

    Override the up direction for the mole.

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

    Methods

    GetMovement(Vector3)

    MovementEngine for the mole character to allow the player to walk up and down walls directly.

    Declaration
    public override IEnumerable<KCCBounce> GetMovement(Vector3 movement)
    Parameters
    Type Name Description
    Vector3 movement
    Returns
    Type Description
    IEnumerable<KCCBounce>
    In This Article
    Back to top OpenKCC Documentation