The ragdoll module applies applies ragdoll physics to the agent group agents.
Your agent types will have to be set up for with a ragdoll file.
Attributes
Attributes | Type | Overridable | Description |
---|---|---|---|
mode | int | yes | The ragdoll mode. Values are: |
useDynamicModeMetadata | bool | yes | If set the true the mode is driven by the "dynamicMode" metadata |
partialRagdollFilter | string | yes | A comma separated string containing the joint names with partial ragdoll |
dynamicOnCollision | integer | yes | Activate dynamics on collision |
dynamicOnCollisionFilter | string | yes | If a metadata name is specified, the metadata value is used.
|
dynamicOnCollisionPool | integer | yes | |
collisionForceThreshold | double | yes | |
motorRagdollDamping | double | yes | |
motorRagdollStiffness | double | yes | |
motorRagdollIsAcceleration | integer | yes | |
motorRagdollMaxForce | double | yes | |
breakable | integer | yes | |
breakableFilter | string | yes | |
breakForce | vector2 | yes | |
animationBlending | double | yes | |
stuckOnCollision | bool | yes | If set to true, rigid bodies gets stuck on collision |
stuckOnCollisionBreakForce | vector2 | yes | |
stuckOnCollisionImpulse | double | yes | |
stuckOnCollisionPool | integer | yes | |
collisionPool | integer | yes | |
partialRagdollSkipChildren | bool | yes | |
selfCollision | bool | yes | |
debug | bool | no | Activate the dubegging drawing on the selected agents. |