Search Results for

    Show / Hide Table of Contents

    Class SetCharacterUnderwaterHelper

    Sets viscosity applied to damping limbs.

    Inheritance
    Object
    CustomHelper
    SetCharacterUnderwaterHelper
    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 SetCharacterUnderwaterHelper : CustomHelper

    Constructors

    | Improve this Doc View Source

    SetCharacterUnderwaterHelper(Ped)

    Creates a new Instance of the SetCharacterUnderwaterHelper for sending a SetCharacterUnderwater Message to a given Ped.

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

    The Ped to send the SetCharacterUnderwater Message to.

    Remarks

    Sets viscosity applied to damping limbs.

    Properties

    | Improve this Doc View Source

    GravityFactor

    Gravity factor applied to character.

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

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

    | Improve this Doc View Source

    LinearStroke

    Swimming force (linearStroke=true,False) = (f(v),f(v*v)).

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

    Default value = False.

    | Improve this Doc View Source

    Stroke

    Swimming force applied to character as a function of handVelocity and footVelocity.

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

    Default value = 0.0f. Min value = -1000.0f. Max value = 1000.0f.

    | Improve this Doc View Source

    Underwater

    Is character underwater?.

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

    Default value = False.

    | Improve this Doc View Source

    Viscosity

    Viscosity applied to character's parts.

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

    Default value = -1.0f. Min value = -1.0f. Max value = 100.0f.

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