# Collision frequency of a 3D object in a container

Might be a silly questions but I had a thought while learning about the collision frequency of gas molecules on a single surface of a container using kinetic theory. For a 3D object in the container, can I use the same equations? If I understand correctly a single surface the collision flux of a container surface can be described by the equation:

$$J = \frac{P}{(2\pi mK_bT)^{\frac{1}{2}}}$$

and hence the number of collisions is:

$$N = \frac{P}{(2\pi mK_bT)^{\frac{1}{2}}}*A*\Delta t$$

whereby $$P$$ is pressure, $$m$$ is mass of a molecule, $$t$$ is time, $$A$$ is surface area and $$T$$ is temperature.

if there was a 3d object in the container e.g. a ball or statute, my intuition is that given that the equations above are for gas molecules travelling in a single direction. I could still apply the equations above to a 3D object (e.g. a ball) to calculate the number of collisions across all of its surfaces in time $$t$$ given the total surface area, like I would with a surface of a container wall.

However I wasn't able to find anything online and I was wondering if my assumptions are wrong?