⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    SphereCast MotionGraphCondition

    Overview

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

    Inspector

    Spherecast Condition

    Properties

    Name Type Description
    Normalise Height Float The point on the character capsule to cast from. 0 is the base of the capsule. 1 is the top of the capsule.
    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