⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    BallisticProjectileWithSimpleDrag MonoBehaviour

    Overview

    The BallisticProjectileWithSimpleDrag adds a simple air resistance / drag option to the BallisticProjectile.

    Inspector

    BallisticProjectileWithSimpleDrag

    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).
    Drag Effect Float The strength of the drag on the projectile (uses a simplified multiplier).
    Drag Ignores Gravity Float If true, then drag will only be applied to the vertical velocity while the projectile is climbing.

    See Also

    Modular Firearms

    BallisticShooter

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