Versions Compared

Key

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

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


...

Attributes

AttributesTypeOverridableDescription
jointstring
no
yesThe joint name.
axisint
no
yesThe 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
no
yesWhen greater than 0, it will propagate the rotation up in the parent chain.
target
vector
vector3yesThe target position.
upAxisint
no
yesThe joint up axis index.
useUpVectorMetadatabool
no
yesUse the up vector metadata instead of the up vector attribute of this module.
upVector
vector
vector3
no
yesThe 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)


...


Widget Connector
width900
urlhttps://www.youtube.com/watch?v=yJ3lPRzEsAw
height600