⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    GroundSurfaceNormal MotionGraphCondition

    Overview

    The GroundSurfaceNormal condition is used to check against the slope of the ground surface the character is currently standing on. If the character is in contact with a flat surface then the resulting angle is the angle of the slope. If the character is in contact with an edge then the resulting angle is the slope of the top face the edge belongs to.

    This condition differs from the GroundNormal condition which only takes into account the point of contact and not the shape of the collision geometry.

    Inspector

    GroundSurfaceNormal Condition

    Properties

    Name Type Description
    Comparison Dropdown The comparison type. Options are GreaterThan (), GreaterOrEqual (), LessThan (), LessOrEqual (), EqualTo ().
    Angle Float The ground slope angle in degrees from horizontal.

    See Also

    MotionController

    GroundNormal Condition

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