The desired z location to stop at.
The desired travel direction for a request. 1 means going up, -1 means
going down, 0 means to ignore desired travel direction.
True if the elevator can stop at the location.
Returns true if the elevator can stop at the target z location and desired travel direction,
given the elevator's current location and travel direction.
This method uses several factors to determine whether the elevator can stop at a given location, as follows:
If the elevator is currently idle, it will always return true.
If the elevator is not idle, then the desired travel direction must match the elevator's travel
direction, and the target z must be "ahead of it" given the elevator's
current travel direction. In other words, if the elevator is currently going down, then the target
z must be below the elevator's current location. If the elevator is going up, the target z must be
above the elevator's current location.
If the elevator is currently moving, then the target z location must be far enough ahead of the
elevator so that the elevator can stop at the target z (given its current speed and deceleration)
without going past it.
Do no remove, this fixes the anchor on doc.flexsim.com