Node: OrientationChaser

X3D: 3.3
Component: Followers
Status:
experimental

Quick Links

➨ Fields

The OrientationChaser animates transitions for orientations. If it is routed to a rotation field of a Transform node that contains an object, whenever the set_destination field receives an orientation, the OrientationChaser node rotates the object from its current orientation to the newly set orientation. It creates a smooth transition that ends duration seconds after the last orientation has been received.

HTML Encoding and Default Values

<OrientationChaser destination='0,1,0,0' duration='1' initialDestination='0,1,0,0' initialValue='0,1,0,0' isActive='false' metadata='X3DMetadataObject' value='0,1,0,0' ></OrientationChaser>

Inheritance


Fields

These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via DOM functions (i.e., using setAttribute("myFieldName", "myFieldValue") and getAttribute("myFieldName")).
Name Type Default Value Range Inheritance Standard Description
destination SFRotation 0,1,0,0 The target orientation value.
duration SFTime 1 X3DChaserNode Duration of the transition
initialDestination SFRotation 0,1,0,0 The field initialDestination should be set to the same value than initialValue unless a transition to a certain orientation is to be created right after the scene is loaded or right after the OrientationChaser node is created dynamically.
initialValue SFRotation 0,1,0,0 The field initialValue can be used to set the initial orientation of the object.
isActive SFBool false X3DFollowerNode isActive shows if the sensor is active
metadata SFNode X3DMetadataObject Core/X3DNode Field to add metadata information
value SFRotation 0,1,0,0 The current orientation value.