Myles Turner is about to become teammates with Giannis Antetokounmpo. Damian Lillard now has the chance to pick his next spot.

And just like that, the first full day of NBA free agency brought big surprises Tuesday.

Turner — the longtime stalwart for the Indiana Pacers — agreed to a four-year deal to join the Milwaukee Bucks, who waived the nine-time All-Star in Lillard to make the acquisition happen, a person with knowledge of the moves told The Associated Press.

Turner is agreeing to a deal that ends with a player option, after spending the entirety of his first 10 seasons with the Pacers, who went to the NBA Finals this past season. And the remaining $112.6 million owed to Lillard will be paid out over the next five seasons via the NBA’s stretch provision, according to the person who spoke to the AP on condition of anonymity because neither move was announced by the clubs involved.

The Bucks lost Brook Lopez to the Los Angeles Clippers when free agency opened Monday.

SGA gets extension >> Shai Gilgeous-Alexander and the Oklahoma City Thunder have agreed on a record-setting 4-year, $285 million extension that would give him the highest single-season average salary in NBA history, a person with knowledge of the agreement said Tuesday.

He is coming off a year when he became the fourth player in NBA history to win MVP, Finals MVP and a scoring title and play for a champion in the same season. Kareem Abdul-Jabbar did it once, Michael Jordan then did it four times and Shaquille O’Neal was the last entrant into that fraternity — until this past season, when Gilgeous-Alexander joined the club.

Heat trading Robinson to Pistons >> Duncan Robinson, the leading 3-point shooter in Miami Heat history, is headed back to Michigan for the next step of his career.

A person with knowledge of the agreement said the Detroit Pistons will land Robinson on a three-year, $48 million contract and the Heat will receive wing Simone Fontecchio in what will be a sign-and-trade.

Robinson started his college career at Division III’s Williams in Massachusetts, before finishing at Michigan. He was an undrafted success story with the Heat, part of the 2020 and 2023 teams that went to the NBA Finals.