Fillet it how you will, “Minions” (Universal) is a treat.

This bright 3-D animated comedy traces the history of the yellow capsule-shaped creatures whose endearing background presence contributed to the success of both 2010’s “Despicable Me” and its 2013 sequel, “Despicable Me 2.”

In providing these sweetly bumbling beings with an ever upbeat adventure of their own, co-directors Pierre Coffin and Kyle Balda avoid any genuinely objectionable material.

The proceedings settle down in the swinging London of the 1960s. There, motivated by their natural inclination is to serve a villainous master, the central trio of minions — Kevin, Stuart and Bob (all voiced by Coffin) — assist famed criminal Scarlet Overkill (voice of Sandra Bullock) and her mad scientist husband Herb (voice of Jon Hamm) in their scheme to steal the British crown from Queen Elizabeth II (voice of Jennifer Saunders).

The freewheeling plot that follows pursues its own logic down curious courses, some of which feel like detours. But the underlying morality is sound enough.

In contrast to Gru, the supposed bad guy of the earlier outings, Scarlet is a truly negative character given to selfishness, greed and disloyalty. Her evil tendencies, which carry straightforward consequences, are all the more obvious when compared to the virtues consistently displayed by Kevin and his pals — an appreciation for one another and a sensitivity to the common good prominent among them.

The climactic conflict might prove too much for small fry. A few possible irritants for vigilant grown-ups also appear, including a sumo wrestler’s frequently glimpsed backside and the brief presence of a mustachioed bystander whose enthusiasm for Scarlet leads him to dress exactly like her. While treated comically, his quirky behavior may not sit well with some adults.

The film contains occasional cartoonish violence, fleeting anatomical sight gags and a touch of scatological humor. (A-I, PG).