⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    ProceduralSpineLean MonoBehaviour

    Overview

    The ProceduralSpineLean behaviour is a variation of the BodyLean additive effect that ties into a first person body's ProceduralSpineAimMatcher to add spine based leaning into the mix.

    Inspector

    ProceduralSpineLean

    Properties

    Name Type Description
    Max Lean Angle Float The angle to lean to either side when lean power is set to 1 or -1.
    Lean Speed Float The speed of transitioning from 1 lean value to another. 1 is nearly instant.
    Weapon Tilt Float How much of the lean rotation is reflected in the weapon.
    Head Counter Tilt Float A counter rotation of the head compared to the weapon.
    Required Clearance Float The distance to check from the center line for clearance space to lean. The lean amount will be capped based on the result.
    Cancel If Blocked Boolean If there is no clearance space then return the lean amount to 0 until manually re-applied.
    Reset Speed Standing Float The maximum speed the character can travel before the lean is cancelled. (0 = no max speed).
    Reset Speed Crouching Float The maximum speed the character can travel before the lean is cancelled. (0 = no max speed).
    Can Lean Key String The key to a motion graph switch parameter that dictates if the character can lean or not.
    Is Crouching Key String The key to a motion graph switch parameter that dictates if the character is crouching or standing.
    Spine Aim Matcher ProceduralSpineAimMatcher The ProceduralSpineAimMatcher component that drives the procedural spine rotation for aiming and lean.

    See Also

    Additive Transforms

    Motion Graph Parameters And Data

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