Bamboo-shoot (PvZ2C)

You may be looking for the Bamboo Shoot from Plants vs. Zombies Adventures.

Bamboo Shoot (竹笋) is a plant in the Chinese version of Plants vs. Zombies 2: It's About Time. When a zombie is within four tiles in front of it, it will hide in the ground and start attacking by spinning back and forth. It can't be eaten by zombies. Hovewer, any rolling zombie can run it over, destroying himself in the process (like Spikeweed). Gargantuars are also able to destroy Bamboo Shoots.

Plant Food Upgrade
Using Plant Food, Bamboo Shoot will hit the last zombies in each line (and any zombies very close to it). If they have low enough health, they will be flung off the screen.

Suburban Almanac Entry
Sun Cost: 175

DAMAGE: Moderate

RANGE: Close

RECHARGE: Fast

Trivia
This plant also appears in Plants vs. Zombies Adventures, but looks different.
 * As it is buried into earth, it cannot be planted on wooden planks in Pirate Seas. It shares this trait with Potato Mine and White Radish.
 * It is bound to a line, so it cannot be planted on mine carts in Wild West. So far, it's the only plant that cannot be planted on a mine cart.