Titania X3D Editor

Bring Colours to Your Life.

Titania v4.0.1

Bring Colours to Your Life.

X3D Reference

HAnimJoint

HAnimJoint

Each joint in the body is represented by an HAnimJoint node.

The HAnimJoint node belongs to the H-Anim component and its container field is children. It is available since X3D version 3.0 or later.

Hierarchy

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.

SFVec3f [ ] bboxSize -1 -1 -1 [0,∞) or −1 −1 −1

Bounding box size is usually omitted, and can easily be calculated automatically by an X3D player at scene-loading time with minimal computational cost. Bounding box size can also be defined as an optional authoring hint that suggests an optimization or constraint.

Hint

Can be useful for collision computations or inverse-kinematics (IK) engines.

SFVec3f [ ] bboxCenter 0 0 0 (-∞,∞)

Bounding box center: optional hint for position offset from origin of local coordinate system.

MFNode [in] addChildren

Input field addChildren.

MFNode [in] removeChildren

Input field removeChildren.

MFNode [in, out] children [ ] [HAnimJoint,HAnimSegment,HAnimSite]

Input/Output field children.

SFVec3f [in, out] center 0 0 0 (-∞,∞)

Translation offset from origin of local coordinate system.

Hint

Usually HAnimJoint position is controlled by the center field, not the translation field.

MFNode [in, out] displacers [ ] [HAnimDisplacer]

Input/Output field displacers.

SFRotation [in, out] limitOrientation 0 0 1 0 (-∞,∞)|[-1,1]

Orientation of upper/lower rotation limits, relative to HAnimJoint center.

MFFloat [in, out] llimit [ ] (-∞,∞)

Lower limit for minimum joint rotation in radians.

Hint

Always contains 3 values, one for each local axis.

SFRotation [in, out] rotation 0 0 1 0 (-∞,∞)|[-1,1]

Orientation of children relative to local coordinate system.

SFVec3f [in, out] scale 1 1 1 (0,∞)

Non-uniform x-y-z scale of child coordinate system, adjusted by center and scaleOrientation.

SFRotation [in, out] scaleOrientation 0 0 1 0 (-∞,∞)|[-1,1]

Preliminary rotation of coordinate system before scaling (to allow scaling around arbitrary orientations).

MFInt32 [in, out] skinCoordIndex [ ]

Coordinate index values referencing which vertices are influenced by the HAnimJoint.

Hint

Corresponding skinCoord Coordinate and skinNormal Normal nodes are directly contained within the ancestor HAnimHumanoid node for this HAnimJoint.

Warning

-1 sentinel values are not allowed.

MFFloat [in, out] skinCoordWeight [ ]

Weight deformation values for the corresponding values in the skinCoordIndex field.

MFFloat [in, out] stiffness [ 0, 0, 0 ] [0,1]

Axial values (0,1) indicating willingness of joint to move (about local X, Y, Z axes), larger stiffness values means greater resistance.

Hint

Used by inverse kinematics (IK) systems.

SFVec3f [in, out] translation 0 0 0 (-∞,∞)

Position of children relative to local coordinate system.

Warning

Usually HAnimJoint position is controlled by the center field, not the translation field.

MFFloat [in, out] ulimit [ ] (-∞,∞)

Upper limit for maximum joint rotation in radians.

Hint

Always contains 3 values, one for each local axis.

Description

Hints

  • HAnimJoint may only be a child of another HAnimJoint node, or skeleton field for the HAnimHumanoid.
  • HAnimJoint can only contain nodes HAnimJoint, HAnimSegment, HAnimSite with containerField='children' and also HAnimDisplacer nodes with containerField='displacers'.
  • Visualization shapes for HAnimJoint nodes can be placed in child HAnimSegment or HAnimSite nodes.
  • Include <component name='H-Anim' level='1'/>

Warning

  • An HAnimJoint may not be a child of an HAnimSegment.

Browser Compatibility

Titania X_ITE
no no