Class SetFrictionScaleHelper
SetFrictionScale:.
Inherited Members
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet3.dll
Syntax
public sealed class SetFrictionScaleHelper : CustomHelper
Constructors
| Improve this Doc View SourceSetFrictionScaleHelper(Ped)
Creates a new Instance of the SetFrictionScaleHelper for sending a SetFrictionScale Message to a given Ped.
Declaration
public SetFrictionScaleHelper(Ped ped)
Parameters
Type | Name | Description |
---|---|---|
Ped | ped |
Remarks
SetFrictionScale:.
Properties
| Improve this Doc View SourceGlobalMax
Character-wide maximum impact friction. Affects all parts (not just those in mask).
Declaration
public float GlobalMax { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 999999.0f. Min value = 0.0f. Max value = 1000000.0f.
GlobalMin
Character-wide minimum impact friction. Affects all parts (not just those in mask).
Declaration
public float GlobalMin { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 0.0f. Min value = 0.0f. Max value = 1000000.0f.
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).
Declaration
public string Mask { set; }
Property Value
Type | Description |
---|---|
String |
Remarks
Default value = "fb".
Scale
Friction scale to be applied to parts in mask.
Declaration
public float Scale { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 1.0f. Min value = 0.0f. Max value = 10.0f.