⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    ParticleSystemHitFxBehaviour MonoBehaviour

    Overview

    The ParticleSystemHitFxBehaviour ties together a number of particle systems to create surface impact effects.

    Inspector

    ParticleSystemHitFxBehaviour

    Properties

    Name Type Description
    Chips System ParticleSystem The particle system for chunks of surface material (eg. wood splinters, paint chips).
    Default Chip Count Int The number of chip particles for a bullet hit with size 1.
    Dust System ParticleSystem The particle system for fine dust spray or similar.
    Default Dust Count Int The number of dust particles for a bullet hit with size 1.
    Decal System ParticleSystem The particle system used to place a decal.
    Default Decal Size Float The amount of deflection for the hit system (0 follows the impact normal, 1 follows the reflected impact ray).
    Max Range Float The maximum distance from the player camera that the effect will be shown.
    Deflection Float The amount of deflection for the hit system (0 follows the impact normal, 1 follows the reflected impact ray).
    Surface Offset Float The distance from the surface to place the decal (prevents z-fighting).

    See Also

    Surfaces

    SurfaceHitFxData

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