Class ApplyImpulseHelper
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 ApplyImpulseHelper : CustomHelper
Constructors
Name | Description |
---|---|
Apply |
Creates a new Instance of the ApplyImpulseHelper for sending a ApplyImpulse Message to a given Ped. |
Properties
Name | Description |
---|---|
Angular |
Impulse should be considered an angular impulse. |
Equalize |
0 means straight impulse, 1 means multiply by the mass (change in velocity). |
Hit |
Optional point on part where hit. If not supplied then the impulse is applied at the part center. |
Impulse | Impulse vector (impulse is change in momentum). |
Local |
Hit point in local coordinates of body part. |
Local |
Impulse in local coordinates of body part. |
Part |
Index of part being hit. -1 apply impulse to COM. |