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