⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    RayCast MotionGraphCondition

    Overview

    The RayCast condition performs a cast in the specified direction and from the specified source.

    Inspector

    Raycast Condition

    Properties

    Properties

    Name Type Description
    Normalise Height Float The point on the character capsule to cast from. 0 is the base of the capsule centerline. 1 is the top of the capsule centerline.
    Cast Vector Vector3 The direction and distance to cast relative to the character. The vector does not have to be normalised, as the magnitude will be the maximum distance.
    Layer Mask Layermask The layers to check against.
    Does Hit Boolean Is the condition true if the cast hits something or if it does not.

    See Also

    Layers And Tags

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