Class LeanTowardsObjectHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet2.dll
Syntax
public sealed class LeanTowardsObjectHelper : CustomHelper
Constructors
| Name | Description |
|---|---|
| LeanTowardsObjectHelper(Ped) | Creates a new Instance of the LeanTowardsObjectHelper for sending a LeanTowardsObject Message to a given Ped. |
Properties
| Name | Description |
|---|---|
| BoundIndex | BoundIndex of object to lean towards (0 = just use instance coordinates). |
| InstanceIndex | LevelIndex of object to lean towards. |
| LeanAmount | Amount of lean, 0 to about 0.5. -ve will move away from the target. |
| Offset | Offset from instance position added when calculating position to lean to. |