2D-Elevator Simulation
2D Elevator Simulation — Unity 6
A 3-elevator, 4-floor dispatch simulation built with Unity's UI system. Press a floor call button and the nearest available elevator responds — no duplicate dispatches, no idle elevators sitting around when they're needed elsewhere.
Features implemented
- 3 independently operating elevators, each maintaining its own request queue
- 4 floors (Ground to floor3) with Up/Down call buttons per floor
- Nearest-elevator dispatch algorithm — cost-based, factors in direction and whether the elevator is already heading toward the request
- LOOK/SCAN movement logic — elevators finish sweeping in their current direction before reversing, instead of bouncing between floors
- Smooth interpolated movement (no teleporting) with live current-floor display per car
- Call buttons lock while a request is pending and auto-reset once served
| Status | Prototype |
| Platforms | HTML5 |
| Author | Vishal Rawat — Unity Game Developer |
| Content | No generative AI was used |

Leave a comment
Log in with itch.io to leave a comment.