Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The ragdoll module applies applies ragdoll physics to the agents belonging to this agent group agents.

Your agent types will have to be set up for with a ragdoll file.

...

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

ragdollSetupstringyesOverrides the ragdoll setup file stored in the agentType for this agent (not yet in use)
useDynamicModeMetadataboolyesIf set the to true the mode is driven by the "dynamicMode" metadata
partialRagdollFilterstringyesA comma separated string containing the joint names with partial ragdoll (wildcards are supported)
dynamicOnCollisionintegeryesActivate Activates dynamics on collision
dynamicOnCollisionFilterstringyesA comma separated string containing the joint names that are used to trigger the dynamic on collision dynamicOnCollision mode (wildcards are supported)
dynamicOnCollisionPoolintegeryes

Pool on which an agent is assigned after a dynamicCollision event happen.

Value of -1 means it


Use the following values:

  • -1 for making the agent collide with everything
,
  • -2 to disable collision
,
  • any positive integer for
set
  • setting a specific pool
collisionForceThresholddoubleyesMagnitude of a force that is applied to a rigid body to trigger the dynamicOnCollision mode

The force threshold for the kinematic to dynamic conversion, if the force magnitude is lower than this value the object won't be converted.
As soon as the force magnitude is higher than this value the dynamicOnCollision mode will be triggered.

motorRagdollDampingdoubleyesMotor constraint damping value, with value of -1 the operator use uses the ones store one stored inside the ragdoll setup file
motorRagdollStiffnessdoubleyesMotor constraint stiffness value, with value of -1 the operator use uses the ones store one stored inside the ragdoll setup file
motorRagdollIsAccelerationintegeryesMotor constraint "isAcceleration" value, with value of -1 the operator use uses the ones store one stored inside the ragdoll setup file
motorRagdollMaxForcedoubleyesMotor constraint "max force" value, with  with value of -1 the operator use uses the ones store one stored inside the ragdoll setup file
breakableintegeryesActivate the cosntriant constraint breakable force
breakableFilterstringyesA comma separated string containing the joint names on wich where the operator set sets the breakable option (wildcards are supported)
breakForcevector2yesBreakable force limit (x for linear magnitude and y for torque magnitude)
animationBlendingdoubleyesBlend weight used on motor constraint. With a value of 1.0 the agent clip animation is applied on the motor constraint
stuckOnCollisionboolyesIf set to true, rigid bodies gets get stuck on collision
stuckOnCollisionBreakForcevector2yesBreak force magnitude to break the stuck on collision constraint. Value of -1 means an infinite force
stuckOnCollisionImpulsedoubleyesInpulse magnitude multiplier applied to the impulse force on a stuckoncollision stuckOnCollision event
stuckOnCollisionPoolintegeryesPool on which an agent is assigned after the occurring of a stuckOnCollision event happen. Value of -1 means it

Use the following values:

  • -1 for making the agent collide with everything
,
  • -2 to disable collision
,
  • any positive integer for
set
  • setting a specific pool
collisionPoolintegeryesCollision pool. Value of -1 means it  

Use the following values:

  • -1 for making the agent collide with everything
,
  • -2 to disable collision
,
  • any positive integer for
set
  • setting a specific pool
partialRagdollSkipChildrenboolyes

If true

when an agent is in partial ragdoll the operator desn

, the ragdoll operator won't create rigid bodies

on

for the children

of 

of the

joints specified onto the partialRagdollFilter

given joints (partialRagdollFilter) when the agent is in partial ragdoll.

selfCollisionboolyesEnable the agent self collision
debugboolnoActivate the dubegging debugging drawing on the selected agents.

...