Okay, so today I messed around with this thing called “knock balls.” I had this idea in my head and wanted to see if I could actually make it happen. It’s not as fancy as some other stuff, but hey, it was fun to build.

I started by grabbing some basic shapes. You know, spheres for the balls and some boxes to act as obstacles. I wanted to keep it super simple at first, just to get the core mechanics working.
Next, I fiddled with the physics. I needed the balls to, well, act like balls. I played with gravity settings, bounciness, and friction until it felt somewhat right. It wasn’t perfect, but it was good enough for a first try.
- Added some sphere shapes.
- Made a few boxes as obstacles.
- Adjusted gravity and such.
The “knocking” part was the trickiest. I tried a few different approaches. At first, I tried directly applying forces, but it was hard to control. Then, I messed with the positions. I played around with the code to get something that resembles pushing.
It’s not perfect, but it gives that “knock” feeling.

Making It a Bit More Fun
Once the basic knocking worked, I added a few more things.
I put in more balls, changed their colors, and added more of those box obstacles.
Then, the “knocking” power. I added a simple mechanism, like a virtual push, to make things go flying.
It is not pretty, It’s super basic, but it’s kind of satisfying to watch those balls go flying.
It was a fun little experiment. Maybe I’ll add more to it later, like scoring or different levels. But for now, it’s a neat little thing that does what I wanted it to do: knock balls around!