A design of elevator uses a device called a floor selector for the logic system to track…
- User
A design of elevator uses a device called a floor selector for the logic system to track the position of the elevator cab in the shaft. This specific selector effectively acts like a miniature version of the elevator with a carrage that moves up and down on rails. Create a formula that would get the position the carriage should be at depending on the elevator cabs position in Luau with the following input values: The Y coordinate of the lowest floor in the elevator shaft, The Y coordinate of the highest floor in the elevator shaft and the total length that the selector carriage can travel (in studs)
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.