There were a number of moving parts in the Ravens’ third and final touchdown in their 24-10 victory over the Indianapolis Colts Sunday at M&T Bank Stadium that worked in the team’s favor.

Quarterback Joe Flacco’s eight-yard floater to tight end Dennis Pitta nearly caused a collision between Pitta and rookie wide receiver Torrey Smith in the end zone in the third quarter. Smith had the presence of mind not to reach for the ball and possibly knock it out of Pitta’s grasp, but it was close.

“I saw the black helmet at the last minute,” Smith said after the game. “Joe said he was throwing it to Pitta, and that would have been bad. We would have run into each other, and the ball would have dropped in the end zone. But it’s a touchdown for us, and that’s all that matters.”

To make the grab, Pitta had to stretch his 6-foot-4 frame and leap into the air, harkening back to his days as a forward on his high school basketball team at Moorpark High School in Moorpark, Calif.

“Joe did a great job,” Pitta said. “I just kind of sat down in the middle and felt a void there, and Joe did a great job of scrambling out to his right and throwing back across the grain and putting it high where we could go up and get it. It was a great touchdown for us.”

Flacco had his own concerns. Flushed out of the pocket, he scrambled to his right and appeared to be running out of real estate before spotting Pitta.

“He was actually my main read on that, and they did a good job of covering him up,” Flacco said. “I kind of felt like the pocket was closing down on me a little bit, so I kind of took my eyes off downfield for a little bit and found a little crease to step up in and thought I might be able to run for it. But when I kind of got out there, I kind of got a feeling that I might not be able to. So I dragged the play on and just made it a little bit of a longer play, and I happened to peek back and see Dennis with his arms up in the end zone.”