Dirk Nowitzki said the ball felt flat coming out of his hand.

It turned out to be the perfect trajectory for the Dallas Mavericks.

Nowitzki hit a 3-pointer with 2.9 seconds left and the host Mavericks rallied to beat the Chicago Bulls 100-98 on Saturday.

"This game was kind of like the story of our season," said Nowitzki, who finished with a season-high 35 points. "Every time someone writes us off, we find a way to come back."

The Mavericks trailed by 12 in the fourth quarter, but Nowitzki scored Dallas' last eight points in a 15-1 run over the final 3½ minutes of the game.

After Jimmy Butler missed two free throws with 15.9 seconds remaining, Vince Carter drove down the lane and kicked a pass out to Nowitzki, who stepped into a 3-pointer with Luol Deng running at him.

Dallas remained a game and a half behind the Los Angeles Lakers and the Utah Jazz for the final playoff spot in the West.

Bulls center Joakim Noah (foot) and guard Marco Belinelli (abdominal strain) sat out with injuries.

Jazz 116, Nets 107: Randy Foye scored 26 points, tying a career high with eight 3-pointers, and Utah defeated Brooklyn in Salt Lake City to keep Deron Williams winless against his former team. The victory was the fourth straight for Utah, which remained eighth in the West by virtue of its tiebreaker over the Lakers.

Lakers 103, Kings 98: Kobe Bryant scored 19 points and tied a season high with 14 assists despite a nagging left foot injury, and Los Angeles won in Sacramento.

Bryant added nine rebounds and facilitated the Lakers' offense for 47 minutes, 37 seconds after Steve Nash exited early in the first quarter with a recurring right hamstring injury. Bryant also passed Lakers great Wilt Chamberlain (31,419 points) for fourth on the NBA's career scoring list, after starting four points shy of the mark.

Rockets 98, Clippers 81: Jeremy Lin, Chandler Parsons and Francisco Garcia scored 15 points apiece to lead host Houston over Los Angeles. Rockets leading scorer James Harden missed his third game of the season with a right ankle sprain.

Thunder 109, Bucks 99: Kevin Durant scored 30 points, Russell Westbrook had a triple-double (23 points, 10 assists, 13 rebounds), and Oklahoma City won in Milwaukee.

Former Warrior Epke Udoh had his first career double-double with 14 points and 10 rebounds for Milwaukee.

Grizzlies 99, Timberwolves 86: Marc Gasol scored 21 points and Memphis pulled away in the fourth quarter to beat Minnesota in Minneapolis. The Grizzlies ended a five-game road losing streak.