Site Tools


des-refmat:param:ragdollparam

RagdollParam

Fields

Field Type Offset Description Notes
enable u8 0x0 If ON, the ragdoll moves during damage. This field is a boolean.
partsHitMaskNo s8 0x1 The parts mask value to use. -1 means mask is disabled.
pad dummy8 0x2 This field is padding.
hierarchyGain f32 0x4 Lowering it will bring it closer to the original pose, while increasing it will make it squishier.
velocityDamping f32 0x8 The rate at which the ragdoll's movement speed is reduced. When it approaches 0, it returns slowly, and when it approaches 1, it returns suddenly.
accelGain f32 0xc Adjustment parameter for rigid acceleration. Lower values will make the movement softer, higher values will make it harder. Should be set to a lower value than the acceleration gain.
velocityGain f32 0x10 Rigid speed adjustment parameter. Lower values will make the movement softer, higher values will make it harder. It seems to be set to a lower value than the speed gain.
positionGain f32 0x14 Adjustment parameter for rigid movement position. Lower values will make the movement softer, higher values will make it harder.
maxLinerVelocity f32 0x18 Maximum movement speed for the rigid body.
maxAngularVelocity f32 0x1c Maximum rotation speed for the rigid body.
snapGain f32 0x20 Adjustment value to get closer to the original pose. Effect similar to position gain.
pad2 dummy8 0x24 This field is padding.
des-refmat/param/ragdollparam.txt · Last modified: by admin