Its a common myth that the Germans had "better tanks" in 1940, they didn't.
They had "adequate" tanks that were used well tactically, and organised better than the French army tank units were.
The Pnz IVD was not seen in large #s, the Pnz III and Pnz 38(t) (a Czechoslovakian tank) were their "MBTs" and served well, being mechanicaly reliable, fast cross country, with "good enough" gun and armor combos to do the job they needed. The Pnz II was also used in large #s, mainly as a light tank.
Although "on paper" the Char B and S35 look formidable, they both lack a 2 man turret, so they are decent AFVs, but not as good in battle as you might think by just looking at their raw stats.