Class ForceLeanTowardsObjectHelper
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 ForceLeanTowardsObjectHelper : CustomHelper
Constructors
Name | Description |
---|---|
ForceLeanTowardsObjectHelper(Ped) | Creates a new Instance of the ForceLeanTowardsObjectHelper for sending a ForceLeanTowardsObject Message to a given Ped. |
Properties
Name | Description |
---|---|
BodyPart | Body part that the force is applied to. |
BoundIndex | BoundIndex of object to move towards (0 = just use instance coordinates). |
InstanceIndex | LevelIndex of object to move 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. |