Class BodyRelaxHelper
Set the amount of relaxation across the whole body; Used to collapse the character into a rag-doll-like state.
Inherited Members
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. |