Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

AttributesTypeOverridableDescription
modeintyes

The ragdoll mode. Values are:
0 - none
1 - static
2 - kinematic
3 - ragdoll
4 - partial ragdoll
3 - motor ragdoll
4 - partial motor ragdoll

useDynamicModeMetadataboolyesIf set the true the mode is driven by the "dynamicMode" metadata
partialRagdollFilterstringyesA comma separated string containing the joint names with partial ragdoll
dynamicOnCollisionintegeryesActivate dynamics on collision
dynamicOnCollisionFilterstringyes

If a metadata name is specified, the metadata value is used.
Depending on the metadata type a different action is performed:

  • Vector3Metadata: the force direction is taken from the metadata
  • DoubleMetadata: the force magnitude is taken from the metadata
  • IntMetadata, BoolMetadata: the weight of the module is taken from the metadata
dynamicOnCollisionPoolintegeryes
collisionForceThresholddoubleyes
motorRagdollDampingdoubleyes
motorRagdollStiffnessdoubleyes
motorRagdollIsAccelerationintegeryes
motorRagdollMaxForcedoubleyes
breakableintegeryes
breakableFilterstringyes
breakForcevector2yes
animationBlendingdoubleyes
stuckOnCollisionboolyesIf set to true, rigid bodies gets stuck on collision
stuckOnCollisionBreakForcevector2yes
stuckOnCollisionImpulsedoubleyes
stuckOnCollisionPoolintegeryes
collisionPoolintegeryes
partialRagdollSkipChildrenboolyes
selfCollisionboolyes
debugboolnoActivate the dubegging drawing on the selected agents.
  • No labels