1 | For each stair, a TimeSensor (Stair1Timer on next foil) is triggered by a world ProximitySensor. (set when you enter bounding box) |
2 | Once triggered, the time sensor outputs fractions forever. |
3 | The fractions are routed in to PositionInterpolators (Stair1Path) that smoothly interpolate a sliding position back and forth along the X axis. |
4 | These positions are routed in to translations (Stair1.set_translation) for the individual stairs. |