Class ForceLeanToPositionHelper
Inherited Members
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet3.dll
Syntax
public sealed class ForceLeanToPositionHelper : CustomHelper
Constructors
| Improve this Doc View SourceForceLeanToPositionHelper(Ped)
Creates a new Instance of the ForceLeanToPositionHelper for sending a ForceLeanToPosition Message to a given Ped.
Declaration
public ForceLeanToPositionHelper(Ped ped)
Parameters
Type | Name | Description |
---|---|---|
Ped | ped |
Properties
| Improve this Doc View SourceBodyPart
Body part that the force is applied to.
Declaration
public int BodyPart { set; }
Property Value
Type | Description |
---|---|
Int32 |
Remarks
Default value = 0. Min value = 0. Max value = 21.
LeanAmount
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).