Class OnFireHelper
Inherited Members
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet2.dll
Syntax
public sealed class OnFireHelper : CustomHelper
Constructors
Name | Description |
---|---|
OnFireHelper(Ped) | Creates a new Instance of the OnFireHelper for sending a OnFire Message to a given Ped. |
Properties
Name | Description |
---|---|
ArmsPoseWritheBlend | Blend the bodyWrithe arms with the current desired pose from on fire behavior when character is on the floor. |
ArmsWindmillWritheBlend | Blend armsWindmill with the bodyWrithe arms when character is upright. |
LegsPoseWritheBlend | Blend the bodyWrithe legs with the current desired pose from on fire behavior when character is on the floor. |
LegsStumbleWritheBlend | Blend legs stumble with the bodyWrithe legs when character is upright. |
MaxRollOverTime | Rolling torque is ramped down over time. At this time in seconds torque value converges to zero. Use this parameter to restrict time the character is rolling. |
PredictTime | Character pose depends on character facing direction that is evaluated from its COMTM orientation. Set this value to 0 to use no orientation prediction i.e. current character COMTM orientation will be used to determine character facing direction and finally the pose bodyWrithe is blending to. Set this value to GT 0 to predict character COMTM orientation this amount of time in seconds to the future. |
RollOverFlag | Flag to set bodyWrithe trying to rollOver. |
RollOverRadius | Rolling torque is ramped down with distance measured from position where character hit the ground and started rolling. At this distance in meters torque value converges to zero. Use this parameter to restrict distance the character travels due to rolling. |
RollTorqueScale | Scale rolling torque that is applied to character spine by bodyWrithe. Torque magnitude is calculated with the following formula: m_rollOverDirectionrollOverPhaserollTorqueScale. |
SpinePoseWritheBlend | Blend the bodyWrithe back with the current desired pose from on fire behavior when character is on the floor. |
SpineStumbleWritheBlend | Blend spine stumble with the bodyWrithe spine when character is upright. |
StaggerLeanRate | How quickly the character leans hips when staggering. |
StaggerTime | Max time for stumbling around before falling to ground. |
StumbleMaxLeanBack | Max the character leans hips back when staggering. |
StumbleMaxLeanForward | Max the character leans hips forwards when staggering. |