Joint Aim (Behaviour)

Makes a joint aim towards a target.

Success:  Never

Failure: When the aim operator could not be applied

Running: When the aim operator is computed


Attributes

Attributes
Type
Description
lockAgentboolIf on, ensures no data on the agent is written simultaneously by nodes that have this option active.
jointNamestringJoint name
directionalStartJointNamestringWhen axis is equal to 7, this contains the name of the joint used as start position of the direction to aim
directionalEndJointNamestringWhen axis is equal to 7, this contains the name of the joint used as end position of the direction to aim
hierarchyPropagationintNumber of parent joints used to propagate the aim rotation
targetvector3Target position
upVectorvector3Global up vector
customAxisvector3Custom axis
weightdoubleBlending weight
additiveWeightdoubleAdditive blending weight
useUpVectorMetadataboolUse up metadata as up vector
additiveModeboolUse additive mode
projectAxisboolProject the axis onto the ground so the rotation is always along the global up vector
axisint

Axis to aim:

  • 0: X
  • 1: Y
  • 2: Z
  • 3: -X
  • 4: -Y
  • 5: -Z
  • 6: Use custom axis
  • 7: Use direction computed by the difference of the two directional joints
upAxisint

Up axis:

  • 0: X
  • 1: Y
  • 2: Z
  • 3: -X
  • 4: -Y
  • 5: -Z
modeint

Mode:

  • 0: As last operator
  • 1: Pre-physic operator
  • 2: Pre-pelvis operator

Copyright © 2017, Toolchefs LTD.