What method should I use for making inventory?

You can round each component of the coordinates of an inventory item to the nearest grid unit. It’s pretty much the same as grid placement systems for furniture or tycoons that you see in many games. There’s even a community tutorial on the topic, check it out here.