Regarding Holes

Hi, I am new here.

I was introduced to box2D via an assignment.
My assignment was that I have to make a pool game from the top view.

so far, I have been playing around, but I need to know several things,

like how do I create a hole?. I created a spheres before, but I dont know how to create a hole for a sphere to fall through.
Box2d can't create spheres, as it's only a 2d engine, it only does circles. If you want a hole for something to fall into, you'll need to add handling for that yourself, like if the circle is completely contained within the hole, you remove it and mark it as in the pocket. The engine itself won't handle this for you, though.
Yeah, Box2D is only 2D. So you won't get the rolling simulation, so it will be very simple pool. To simulate the pockets, I would just make them openings in the table wall. When a ball goes through the opening, you can stop drawing it.
oh okay, thanks alot

Original thread: https://box2d.org/forum/viewtopic.php?t=827