⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    GrappleToolModule MonoBehaviour

    Overview

    The GrappleToolModule behaviour is used to set a vector parameter on the wielding character's motion graph with an anchor point to grapple to. This can be combined with the GrappleSwingState motion graph state to add grapple mechanics to the game.

    Inspector

    GrappleToolModule

    Properties

    Name Type Description
    Grapple Point Key String The name of the vector parameter on the character's motion graph that you want to set the grapple point to.
    Grapple Layers LayerMask The physics layers the tool can grapple onto.
    Max Grapple Distance Float The maximum distance that a grapple can connect.
    Aim Offset Vector A rotation offset to the aim rotation for the grapple. +x is right, +y is up.
    Tether Start Transform The transform to use as the start point of the tether line renderer.

    See Also

    Modular Firearms

    The Motion Graph

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