true linear interpolation for doors