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 |
---|---|
ApplyImpulseHelper(Ped) | Creates a new Instance of the ApplyImpulseHelper for sending a ApplyImpulse Message to a given Ped. |
Properties
Name | Description |
---|---|
AngularImpulse | Impulse should be considered an angular impulse. |
EqualizeAmount | 0 means straight impulse, 1 means multiply by the mass (change in velocity). |
HitPoint | 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). |
LocalHitPointInfo | Hit point in local coordinates of body part. |
LocalImpulseInfo | Impulse in local coordinates of body part. |
PartIndex | Index of part being hit. -1 apply impulse to COM. |