Class ConfigureLimitsHelper
Enable/disable/edit character limits in real time. This adjusts limits in RAGE-native space and will not reorient the joint.
Inherited Members
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet2.dll
Syntax
public sealed class ConfigureLimitsHelper : CustomHelper
Constructors
Name | Description |
---|---|
ConfigureLimitsHelper(Ped) | Creates a new Instance of the ConfigureLimitsHelper for sending a ConfigureLimits Message to a given Ped. |
Properties
Name | Description |
---|---|
Enable | If false, disable (set all to PI, -PI) limits. |
Index | Index of effector to configure. Set to -1 to use mask. |
Lean1 | Custom limit values to use if not setting limits to desired. Limits are RAGE-native, not NM-wrapper-native. |
Lean2 | |
Margin | Joint limit margin to add to current animation limits when using those to set runtime limits. |
Mask | Two character body-masking value, bitwise joint mask or bitwise logic string of two character body-masking value for joint limits to configure. Ignored if index != -1. |
Restore | Return to cached defaults?. |
ToCurAnimation | If true, set limits to the current animated limits. |
ToDesired | If true, set limits to accommodate current desired angles. |
Twist |