DEF Stair1Timer TimeSensor { |
cycleInterval 4.0 |
loop TRUE |
} |
DEF Stair1Path PositionInterpolator { |
key [ 0.0, 0.25, 0.5, 0.75, 1.0 ] |
keyValue [ 0.0 0.0 0.0, 3.0 0.0 0.0, 0.0 0.0 0.0, -3.0 0.0 0.0, 0.0 0.0 0.0 ] |
} |
ROUTE Proximity.enterTime TO Stair1Timer.set_startTime |
ROUTE Stair1Timer.fraction_changed TO Stair1Path.set_fraction |
ROUTE Stair1Path.value_changed TO Stair1.set_translation |