⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    RecoilPushback MonoBehaviour

    Overview

    The RecoilPushback behaviour connects to a firearm's recoil module and pushes the wielding character backwards when they fire.

    Inspector

    RecoilPushback

    Properties

    Name Type Description
    Force Float The force to push the character back with.
    Pitch Mode Dropdown How character aim pitch affects the pushback. Ignore will push the character backwards horizontally with the set force, ScaleForce will push the character back horizontally based on pitch, while Full3D will push the character directly away from their aim direction (including pitch).
    Airborne Only Boolean Should the recoil only push back when the character is not grounded.

    See Also

    Modular Firearms

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