⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    PooledExplosionAmmoEffect MonoBehaviour

    Overview

    The PooledExplosionAmmoEffect spawns a PooledExplosion and passes it the relevant data to inflict damage and add force.

    Inspector

    PooledExplosionAmmoEffect

    Properties

    Name Type Description
    Explosion PooledExplosion The explosion object to spawn at the impact location.
    Damage Float The damage does at the center of the explosion. Drops off to zero at the edge of the radius.
    Max Force Float The maximum force to be imparted onto any objects in the explosion's radius. Requires either a Rigidbody or an impact handler and drops off to zero the further from the center the object is.
    Normal Offset Float An offset from the hit point along its normal to spawn the explosion. Prevents the explosion from appearing embedded in the surface.

    See Also

    Modular Firearms

    Pooled Explosion

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