<p>The method involves positioning a hollow body (1) on a support (7) that receives the hollow body. A coating substance is pulverized on a surface (2) of the hollow body using a spraying device (9). The support and the spraying device are activated at relative displacement, where the relative displacement is carried out at a speed varying according to a distance (d) between the spraying device and the surface. The speed of the displacement is increased or decreased when the distance between the spraying device and the surface decreases or increases, respectively. An independent claim is also included for a machine for coating a surface of an object.</p>