Skip to content

Ragdoll reference

The ragdoll component used by the Character (CMC) pawn, and the Mover ragdoll mode.

How to read these tables

Settings are the values you tune: select the component in your pawn Blueprint (or open the asset) and look in the Details panel under the category shown. Runtime state is written by the system while it runs; read it, do not set it. Functions marked pure have no execution pins. The descriptions are the same as the Details panel tooltips. Default is the class default; where a sample pawn sets a different value on its component, the description says so ().

AC_RagdollSystem

/GASPALS/Systems/RagdollSystem/AC_RagdollSystem · parent ActorComponent

Settings

Variable Type Default Description
Get Up Back Default
GetUpBack_Default
AnimMontage ref M_Neutral_GetUp_Back_Montage_Default Get-up montage when lying on the back with no item or an unlisted item.
Get Up Back RH
GetUpBack_RH
AnimMontage ref M_Neutral_GetUp_Back_Montage_RH Get-up montage when lying on the back while holding an item in the right hand.
Get Up Back LH
GetUpBack_LH
AnimMontage ref M_Neutral_GetUp_Back_Montage_LH Get-up montage when lying on the back while holding an item in the left hand.
Get Up Back 2H
GetUpBack_2H
AnimMontage ref M_Neutral_GetUp_Back_Montage_2H Get-up montage when lying on the back while holding an item with both hands.
Get Up Front Default
GetUpFront_Default
AnimMontage ref M_Neutral_GetUp_Front_Montage_Default Get-up montage when lying face down with no item or an unlisted item.
Get Up Front LH
GetUpFront_LH
AnimMontage ref M_Neutral_GetUp_Front_Montage_LH Get-up montage when lying face down while holding an item in the left hand.
Get Up Front 2H
GetUpFront_2H
AnimMontage ref M_Neutral_GetUp_Front_Montage_2H Get-up montage when lying face down while holding an item with both hands.
Get Up Front RH
GetUpFront_RH
AnimMontage ref M_Neutral_GetUp_Front_Montage_RH Get-up montage when lying face down while holding an item in the right hand.

Functions

Function Inputs Outputs Description
GetGetUpAnimation (pure) RagdollFaceUp (Boolean) ReturnValue (AnimMontage ref) Returns the get-up montage for the ragdoll side (RagdollFaceUp) and the selected equipment. Called when the ragdoll ends on the ground.
InitializeSystem ParentPawn (Pawn ref), ParentMesh (SkeletalMeshComponent ref), ParentCapsule (CapsuleComponent ref)   Stores the owning pawn, mesh and capsule and finds the Character Movement Component. Called once by the pawn.
IsRagdolling (pure)   bIsRagdolling (Boolean) True while the character is ragdolling.
SetActorLocationAndRotation(UpdateTarget) NewLocation (Vector), NewRotation (Rotator), bSweep (Boolean), bTeleport (Boolean) SweepHitResult (HitResult), ReturnValue (Boolean) Moves the owning pawn to the location and stores the rotation as RagdollTargetRotation.
SetActorLocationDuringRagdoll     Moves the capsule to follow the pelvis while ragdolling, resting it on the ground when one is found below, and updates the face-up and on-ground flags.
UpdateRagdoll     Per-tick ragdoll update: stores the pelvis velocity, scales the angular motors with it, disables gravity far below the start and moves the actor to the pelvis.

Events

  • OnRagdollStarted (event dispatcher): Dispatcher called when StartRagdoll runs.
  • OnRagdollEnded (event dispatcher): Dispatcher called when StopRagdoll runs.
  • Multicast_StartRagdoll: Multicast RPC, reliable.
  • Server_StopRagdoll: Server RPC, reliable.
  • Server_StartRagdoll: Server RPC, reliable.
  • Multicast_StopRagdoll: Multicast RPC, reliable.

BP_MovementMode_Ragdoll

/GASPALS/Blueprints/MovementModes/BP_MovementMode_Ragdoll · parent BaseMovementMode

Settings

Variable Type Default Description
Skeletal Mesh SkeletalMeshComponent ref  

Functions

Function Inputs Outputs Description
SimulationTick Params (SimulationTickParams), OutputState (MoverTickEndData)