Add force

The add force module applies a force onto your agents when in ragdoll mode.



Attributes

AttributesTypeOverridableDescription
asImpulseboolyesIf set to true the force is applied as impulse
applyOnPelvisOnlyboolyesIf set the true only applies the force to the pelvis joints
directionvector3yesThe force direction
magnitudedoubleyesThe force magnitude
metadatastringno

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
weightdoubleyesThe force weight

Copyright © 2017, Toolchefs LTD.