Class LeanToPositionHelper
Inherited Members
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet3.dll
Syntax
public sealed class LeanToPositionHelper : CustomHelper
Constructors
| Improve this Doc View SourceLeanToPositionHelper(Ped)
Creates a new Instance of the LeanToPositionHelper for sending a LeanToPosition Message to a given Ped.
Declaration
public LeanToPositionHelper(Ped ped)
Parameters
Type | Name | Description |
---|---|---|
Ped | ped |
Properties
| Improve this Doc View SourceLeanAmount
Amount of lean, 0 to about 0.5. -ve will move away from the target.
Declaration
public float LeanAmount { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 0.2f. Min value = -0.5f. Max value = 0.5f.
Pos
Position to head towards.
Declaration
public Vector3 Pos { set; }
Property Value
Type | Description |
---|---|
Vector3 |
Remarks
Default value = Vector3(0.0f, 0.0f, 0.0f).