Site Tools


ds1-refmat:param:ragdollparam

RagdollParam

Fields

Field Type Offset Description Notes
hierarchyGain f32 0x0 Lowering it will bring it closer to the original pose, while increasing it will make it squishier.
velocityDamping f32 0x4 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 0x8 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 0xc 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 0x10 Adjustment parameter for rigid movement position. Lower values will make the movement softer, higher values will make it harder.
maxLinerVelocity f32 0x14 Maximum movement speed for the rigid body.
maxAngularVelocity f32 0x18 Maximum rotation speed for the rigid body.
snapGain f32 0x1c Adjustment value to get closer to the original pose. Effect similar to position gain.
enable u8 0x20 If ON, the ragdoll moves during damage. This field is a boolean.
partsHitMaskNo s8 0x21 The parts mask value to use. -1 means mask is disabled.
pad dummy8 0x22 This field is padding.
ds1-refmat/param/ragdollparam.txt · Last modified: by admin