⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    FootstepAudio MotionGraphBehaviour

    Overview

    The FootstepAudio behaviour plays footsteps based on the character speed and the ground surface below them.

    Inspector

    Footstep MotionGraph Behaviour

    Properties

    Name Type Description
    Audio Data SurfaceAudioData The surface audio library for the slide audio clips.
    Cast Direction Dropdown The direction to perform the footstep surface check. Available options are:
    • Down casts downwards (based on the character up vector).
    • LocalVector casts based on the Cast Vector property in local space.
    • WorldVector casts based on the Cast Vector property in world space.
    • WorldParameter casts based on the vector value of the Vector Parameter property in world space.
    • WorldParameterInverse casts based on the flipped vector value of the Vector Parameter property in world space.
    • LocalParameter casts based on the vector value of the Vector Parameter property in local space.
    • LocalParameterInverse casts based on the flipped vector value of the Vector Parameter property in local space.
    Cast Vector Vector3 The direction to cast in for footstep surface checks.
    Vector Parameter VectorParameter A vector parameter containing the direction vector to cast in for footstep surface checks.
    Step Interval Float The interval between steps. Higher numbers mean the steps are further apart.
    Minimum Speed Float The speed below which no footstep audio will be played.
    Maximum Speed Float The maximum speed that the actual speed will be clamped to. Prevents rapid fire footsteps.
    Max Ray Distance Float The downward raycast length for the ground surface test.
    Ray Offset Float The vertical offset above the absolute bottom of the character collider to start the downward surface test.

    See Also

    SurfaceAudioData

    Motion Graph Parameters And Data

    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX