Class ConfigureSoftLimitHelper
Inherited Members
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet2.dll
Syntax
public sealed class ConfigureSoftLimitHelper : CustomHelper
Constructors
Name | Description |
---|---|
ConfigureSoftLimitHelper(Ped) | Creates a new Instance of the ConfigureSoftLimitHelper for sending a ConfigureSoftLimit Message to a given Ped. |
Properties
Name | Description |
---|---|
ApproachDirection | Limit angle can be measured relatively to joints hard limit minAngle or maxAngle. Set it to +1 to measure soft limit angle relatively to hard limit minAngle that corresponds to the maximum stretch of the elbow. Set it to -1 to measure soft limit angle relatively to hard limit maxAngle that corresponds to the maximum stretch of the knee. |
Damping | Damping of the soft limit. Parameter is used to calculate damper term that contributes to the desired acceleration. To have the system critically dampened set it to 1.0. |
Index | Select limb that the soft limit is going to be applied to. |
LimitAngle | Soft limit angle. Positive angle in RAD, measured relatively either from hard limit maxAngle (approach direction = -1) or minAngle (approach direction = 1). This angle will be clamped if outside the joint hard limit range. |
Stiffness | Stiffness of the soft limit. Parameter is used to calculate spring term that contributes to the desired acceleration. |
VelocityScaled | Scale stiffness based on character angular velocity. |