Joint aim

The joint aim module makes a joint point toward a target position.



Attributes

AttributesTypeOverridableDescription
jointstringyesThe joint name.
axisintyesThe joint axis aiming to the target. 0: X 1:Y 2:Z 3:-X 4:-Y 5:-Z 6:Custom Axis 7: Direction between 2 joints
customAxisvector3yesCustom axis used when axis == 6
hierarchyPropagationint
yesWhen greater than 0, it will propagate the rotation up in the parent chain.
targetvector3yesThe target position.
upAxisintyesThe joint up axis index.
useUpVectorMetadataboolyesUse the up vector metadata instead of the up vector attribute of this module.
upVectorvector3yesThe up vector.
weightdoubleyesWeight.
additiveModeboolyesIf true, the original joint animation will be applied after the joint is rotated.
additiveWeightdoubleyesThe original joint animation weight.
projectAxisboolyesIf true, the axis are projected onto the ground, so the rotation happen along the world up vector
projectForwardboolyesIf the target is behind the agent, then it is projected in front of the current agent using its direction.
startJointstringyesThe start joint used to compute the direction used as axis
endJointstringyesThe end joint used to compute the direction used as axis
useOperatorboolyes

If true, the transformation will be applied by an operator instead of the module itself at the endFrame stage.

This option should be enabled when a joint aim module is used on an agent group using other modules

actively modifying the pose with an operator and not at the endFrame stage(i.e.Sync)




Copyright © 2017, Toolchefs LTD.