⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    SimpleBallisticShooter MonoBehaviour

    Overview

    The SimpleBallisticShooter module spawns an BallisticProjectile. It is not affected by accuracy, and has no options to use the camera aim target. If you want these extra features then you can alternatively use the [BallisticShooter][4]

    Inspector

    SimpleBallisticShooter

    Properties

    Name Type Description
    Start Active Boolean Should this module register as the active shooter immediately on start.
    Activation Mode Dropdown How does module activation work. Options are: Component means the component will be enabled / disabled - use this when you have multiple modules on an object such as the firearm root. GameObject activates / deactivates the object - use this for attachments where you want the geo to appear/disappear.
    Projectile Prefab PooledObject The projectile to spawn.
    Muzzle Tip Transform The position and direction the projectile is spawned.
    Layers LayerMask The physics collision layers the shot can hit.
    Muzzle Speed Float The speed of the projectile.
    Layers LayerMask The layers that will be checked against when casting for valid interaction targets.
    Gravity Float The gravity for the projectile.

    See Also

    Modular Firearms

    BallisticProjectile

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