Class ForceToBodyPartHelper
Apply an impulse to a named body part.
Inherited Members
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet3.dll
Syntax
public sealed class ForceToBodyPartHelper : CustomHelper
Constructors
| Improve this Doc View SourceForceToBodyPartHelper(Ped)
Creates a new Instance of the ForceToBodyPartHelper for sending a ForceToBodyPart Message to a given Ped.
Declaration
public ForceToBodyPartHelper(Ped ped)
Parameters
Type | Name | Description |
---|---|---|
Ped | ped |
Remarks
Apply an impulse to a named body part.
Properties
| Improve this Doc View SourceForce
Force to apply.
Declaration
public Vector3 Force { set; }
Property Value
Type | Description |
---|---|
Vector3 |
Remarks
Default value = Vector3(0.0f, -50.0f, 0.0f). Min value = -100000.0f. Max value = 100000.0f.
ForceDefinedInPartSpace
Declaration
public bool ForceDefinedInPartSpace { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = False.
PartIndex
Part or link or bound index.
Declaration
public int PartIndex { set; }
Property Value
Type | Description |
---|---|
Int32 |
Remarks
Default value = 0. Min value = 0. Max value = 28.