Table of Contents Chapter Index Previous Slide Next Slide 270
A Sample Using Position Interpolators

Interpolating Positions

A Sample Using Position Interpolators
  • Sample [ doorway.wrl ]:
    DEF Stair1Path PositionInterpolator {
        key  [ 0.0, . . . ]
        keyValue [ 0.0 0.0 0.0, . . .]
    }
    ROUTE Stair1Timer.fraction_changed
       TO Stair1Path.set_fraction
    
    ROUTE Stair1Path.value_changed
       TO Stair1.set_translation