⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    NoisyLineHitscanTrail MonoBehaviour

    Overview

    The NoisyLineHitscanTrail behaviour is used to display the trajectory of a hitscan shooter using a line renderer. The points of the line are driven by a particle system which applies noise over time, making the line drift over time.

    Inspector

    NoisyLineHitscanTrail

    Properties

    Name Type Description
    Points Per Meter Float The number of particles per meter of trail. Used for the emit count to ensure a predictable density.
    Max Points Integer The maximum number of points for the line.
    End Size Multiplier Float The line width once the trail dies.
    Random U Offset Float Randomise the texture's U mapping 0-1. Requires the material to have an "_OffsetU" property accessible via property block

    See Also

    Modular Firearms

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