⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    BallisticProjectile MonoBehaviour

    Overview

    The BallisticProjectile is a basic projectile that follows gravity. It will be given an ammo effect by the firearm that it uses when it impacts.

    Inspector

    BallisticProjectile

    Properties

    Name Type Description
    Min Distance Float The minimum distance before the projectile will appear.
    Max Distance Float The maximum distance, after the projectile will disappear.
    Follow Curve Boolean Should the projectile rotate so it is always facing down the curve.
    Forget Ignore Root Boolean Forget the character's "ignore root", meaning it can detonate on the character collider.
    Query Trigger Colliders Boolean Should the shot be tested against trigger colliders.
    Instant Boolean This will cause the projectile logic to be calculated instantly on firing. This will be more responsive, but bullet trails, etc may start far ahead of the gun depending on muzzle speed. Works best in first person.
    Recycle Delay Float The time after the bullet hits an object before it is returned to the pool (allows trail renderers to complete).

    See Also

    Modular Firearms

    BallisticShooter

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