During the first battle of Panipat, Babur used wagons as forts to protect his musketeers and archers, as well as to position his cannons. Did he adopt this tactic from the Ottomans who adopted it from the Hungarians or did they come up with it independently?

by conbutt
Zooasaurus

He definitely adopted it fron the Ottomans. He had Ottoman military experts and specialists who shares the knowledge of Ottoman tactics and weaponry, most famously Mustafa Rumi. The wagon tactics he used in the First Battle of Panipat mirrored the Ottoman wagon tactics in the Battle of Tabriz against the Persians in 1514

The Asian Military Revolution delves into this in a good detail, if you want a further reading