When M. Night Shyamalan was asked what the biggest plot twist in his own life was, he paused and thought carefully.

The answer, said Shyamalan, whose name has been synonymous with twists since his 1999 breakthrough, “The Sixth Sense,” was having come full circle: back to making films in his native Philadelphia, back to the kinds of thrillers that in 2002 led Newsweek to label him “the Next Spielberg.”

“All I want to do is make thrillers,” Shyamalan, 48, said in a phone interview last week. After years spent making other kinds of films, he added, coming back to what he loved most had prompted a realization: “Wow, I had everything I wanted in the first place.”

It’s appropriate, then, that “Glass,” which debuts this weekend, completes another kind of circle. Riding high on the success of its predecessor, “Split” (2017), the film concludes an original superhero trilogy that began in 2000 with “Unbreakable” — a grim and deliberate origin story that arrived, perhaps, just a little too soon.