Shamanism derives from animism, originally. When one enters an altered state of consciousness, everything melts, like a Dali painting, and the subject and the object become one. That means that all objects become imbued with your consciousness. The whole world becomes projected out of your mind.
Temporarily, nothing seems inanimate, and one can communicate with every object as a projection of one's own consciousness, splintered outwardly