PositionDamper2D generates a series of 2D floating-point values that progressively change from initial value to destination value.
The PositionDamper2D node belongs to the Followers component and its container field is children. It is available since X3D version 3.2 or later.
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.
SFVec2f [in] set_value
Set_value resets current value of this node.
SFVec2f [in] set_destination
Set_destination resets destination value of this node.
SFVec2f [ ] initialValue 0 0
Initial starting value for this node.
SFVec2f [ ] initialDestination 0 0
Initial destination value for this node.
SFInt32 [ ] order 3 [0..5]
Order defines the number of internal filters (larger means smoother response, longer delay).
SFTime [in, out] tau 0.3 [0,∞)
Tau is the exponential-decay time constant for filter response in seconds.
SFFloat [in, out] tolerance -1 -1 or [0..∞]
-1 or [0,+∞) Absolute value for satisfactory completion proximity (-1 lets browser choose).
SFBool [out] isActive
IsActive true/false events are sent when follower-node computation starts/stops.
SFVec2f [out] value_changed
Computed output value that approaches within tolerance of destination value, as determined by elapsed time, order and tau.