Search Results for

    Show / Hide Table of Contents

    Class ForceToBodyPartHelper

    Apply an impulse to a named body part.

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

    Constructors

    | Improve this Doc View Source

    ForceToBodyPartHelper(Ped)

    Creates a new Instance of the ForceToBodyPartHelper for sending a ForceToBodyPart Message to a given Ped.

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

    The Ped to send the ForceToBodyPart Message to.

    Remarks

    Apply an impulse to a named body part.

    Properties

    | Improve this Doc View Source

    Force

    Force to apply.

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

    Default value = Vector3(0.0f, -50.0f, 0.0f). Min value = -100000.0f. Max value = 100000.0f.

    | Improve this Doc View Source

    ForceDefinedInPartSpace

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

    Default value = False.

    | Improve this Doc View Source

    PartIndex

    Part or link or bound index.

    Declaration
    public int PartIndex { set; }
    Property Value
    Type Description
    Int32
    Remarks

    Default value = 0. Min value = 0. Max value = 28.

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