Titania X3D Editor

Bring Colours to Your Life.

Titania v4.0.1

Bring Colours to Your Life.

X3D Reference

HAnimSite

HAnimSite

An HAnimSite node serves three purposes: (a) define an "end effector" location which can be used by an inverse kinematics system, (b) define an attachment point for accessories such as jewelry and clothing, and (c) define a location for a virtual camera in the reference frame of an HAnimSegment (such as a view "through the eyes" of the humanoid for use in multi-user worlds).

The HAnimSite 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 [ ] [X3DChildNode]

Input/Output field children.

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

Translation offset from origin of local coordinate system.

SFString [in, out] name ""

Unique name attribute must be defined so that HAnimSite node can be identified at run time for animation purposes.

Hints

HAnimSite nodes used as end effectors have '_tip' suffix appended to the name. HAnimSite nodes containing a Viewpoint location have '_view' suffix appended to the name. HAnimSite nodes serving other purposes have '_pt' suffix appended to the name. Examples: cervicale l_infraorbitale supramenton etc. as listed in H-Anim Specification.

Warning

Name is not included if this instance is a USE node.

See Also

H-Anim Humanoid Site Names LOA-3 H-Anim Specification, LOA-3 default Site object translations

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).

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

Position of children relative to local coordinate system.

Description

Hints

  • HAnimSite nodes are stored as children of an HAnimSegment node.
  • Include <component name='H-Anim' level='1'/>

Browser Compatibility

Titania X_ITE
no no