1 | DEF Stair1Timer TimeSensor { |
2 | cycleInterval 4.0 |
3 | loop TRUE |
4 | } |
5 | DEF Stair1Path PositionInterpolator { |
6 | key [ 0.0, 0.25, 0.5, 0.75, 1.0 ] |
7 | 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 ] |
8 | } |
9 | ROUTE Proximity.enterTime TO Stair1Timer.set_startTime |
10 | ROUTE Stair1Timer.fraction_changed TO Stair1Path.set_fraction |
11 | ROUTE Stair1Path.value_changed TO Stair1.set_translation |