Class HipsLeanInDirectionHelper
Inherited Members
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet3.dll
Syntax
public sealed class HipsLeanInDirectionHelper : CustomHelper
Constructors
| Improve this Doc View SourceHipsLeanInDirectionHelper(Ped)
Creates a new Instance of the HipsLeanInDirectionHelper for sending a HipsLeanInDirection Message to a given Ped.
Declaration
public HipsLeanInDirectionHelper(Ped ped)
Parameters
Type | Name | Description |
---|---|---|
Ped | ped |
Properties
| Improve this Doc View SourceDir
Direction to lean in.
Declaration
public Vector3 Dir { set; }
Property Value
Type | Description |
---|---|
Vector3 |
Remarks
Default value = Vector3(0.0f, 0.0f, 1.0f). Min value = 0.0f.
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 = -1.0f. Max value = 1.0f.