Search Results for

    Show / Hide Table of Contents

    Class BodyRelaxHelper

    Set the amount of relaxation across the whole body; Used to collapse the character into a rag-doll-like state.

    Inheritance
    System.Object
    Message
    CustomHelper
    BodyRelaxHelper
    Inherited Members
    CustomHelper.Start()
    CustomHelper.Start(Int32)
    CustomHelper.Stop()
    CustomHelper.Abort()
    Message.Abort(Ped)
    Message.SendTo(Ped)
    Message.SendTo(Ped, Int32)
    Message.SetArgument(String, Boolean)
    Message.SetArgument(String, Int32)
    Message.SetArgument(String, Single)
    Message.SetArgument(String, String)
    Message.SetArgument(String, Vector3)
    Message.ResetArguments()
    Message.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: GTA.NaturalMotion
    Assembly: ScriptHookVDotNet2.dll
    Syntax
    public sealed class BodyRelaxHelper : CustomHelper

    Constructors

    Name Description
    BodyRelaxHelper(Ped)

    Creates a new Instance of the BodyRelaxHelper for sending a BodyRelax Message to a given Ped.

    Properties

    Name Description
    Damping
    DisableJointDriving

    Sets the drive state to free - this reduces drifting on the ground.

    HoldPose

    Automatically hold the current pose as the character relaxes - can be used to avoid relaxing into a t-pose.

    Mask

    Two character body-masking value, bitwise joint mask or bitwise logic string of two character body-masking value (see Active Pose notes for possible values).

    Relaxation

    How relaxed the body becomes, in percentage relaxed. 100 being totally rag-dolled, 0 being very stiff and rigid.

    ☀
    ☾
    Back to top Copyright (C) 2015 crosire - zlib
    Generated with DocFX