Add force

Add force

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

 


Attributes

Attributes

Type

Overridable

Description

Attributes

Type

Overridable

Description

asImpulse

bool

yes

If set to true the force is applied as impulse

applyOnPelvisOnly

bool

yes

If set the true only applies the force to the pelvis joints

direction

vector3

yes

The force direction

magnitude

double

yes

The force magnitude

metadata

string

no

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

weight

double

yes

The force weight

Copyright © 2017, Toolchefs LTD.