Search Results for

    Show / Hide Table of Contents

    Class TeeterHelper

    Inheritance
    Object
    CustomHelper
    TeeterHelper
    Inherited Members
    CustomHelper.Start()
    CustomHelper.Start(Int32)
    CustomHelper.Stop()
    CustomHelper.SetArgument(String, Boolean)
    CustomHelper.SetArgument(String, Int32)
    CustomHelper.SetArgument(String, Single)
    CustomHelper.SetArgument(String, String)
    CustomHelper.SetArgument(String, Vector3)
    CustomHelper.ResetArguments()
    CustomHelper.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: GTA.NaturalMotion
    Assembly: ScriptHookVDotNet3.dll
    Syntax
    public sealed class TeeterHelper : CustomHelper

    Constructors

    | Improve this Doc View Source

    TeeterHelper(Ped)

    Creates a new Instance of the TeeterHelper for sending a Teeter Message to a given Ped.

    Declaration
    public TeeterHelper(Ped ped)
    Parameters
    Type Name Description
    Ped ped

    The Ped to send the Teeter Message to.

    Properties

    | Improve this Doc View Source

    CallHighFall

    Call highFall if fallen over the edge. If false just call blended writhe (to go over the top of the fall behavior of the underlying behavior e.g. bodyBalance).

    Declaration
    public bool CallHighFall { set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Default value = True.

    | Improve this Doc View Source

    EdgeLeft

    Defines the left edge point (left of character facing edge).

    Declaration
    public Vector3 EdgeLeft { set; }
    Property Value
    Type Description
    Vector3
    Remarks

    Default value = Vector3(39.5f, 38.9f, 21.1f). Min value = 0.0f.

    | Improve this Doc View Source

    EdgeRight

    Defines the right edge point (right of character facing edge).

    Declaration
    public Vector3 EdgeRight { set; }
    Property Value
    Type Description
    Vector3
    Remarks

    Default value = Vector3(39.5f, 39.9f, 21.1f). Min value = 0.0f.

    | Improve this Doc View Source

    LeanAway

    Lean away from the edge based on velocity towards the edge (if closer than 2m from edge).

    Declaration
    public bool LeanAway { set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Default value = True.

    | Improve this Doc View Source

    LeanAwayScale

    Scales stay upright lean and hip pitch.

    Declaration
    public float LeanAwayScale { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 0.5f. Min value = 0.0f. Max value = 1.0f.

    | Improve this Doc View Source

    LeanAwayTime

    Time-to-edge threshold to start leaning away from a potential fall.

    Declaration
    public float LeanAwayTime { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 1.0f. Min value = 0.0f. Max value = 10.0f.

    | Improve this Doc View Source

    PreTeeterTime

    Time-to-edge threshold to start pre-teeter (windmilling, etc).

    Declaration
    public float PreTeeterTime { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 2.0f. Min value = 0.0f. Max value = 10.0f.

    | Improve this Doc View Source

    TeeterTime

    Time-to-edge threshold to start full-on teeter (more aggressive lean, drop-and-twist, etc).

    Declaration
    public float TeeterTime { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 1.0f. Min value = 0.0f. Max value = 10.0f.

    | Improve this Doc View Source

    UseExclusionZone

    Stop stepping across the line defined by edgeLeft and edgeRight.

    Declaration
    public bool UseExclusionZone { set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Default value = True.

    | Improve this Doc View Source

    UseHeadLook

    Declaration
    public bool UseHeadLook { set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Default value = True.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX