I’m recreating the classic bricks game in React Three Fiber, but with a store where players can purchase items and possibly other features as well.
I just finished implementing the store functionality today, but I’ve noticed that the game’s physics feel really off—sometimes even buggy and unresponsive. For example, in the video, you can see the ball bouncing off the floor when it shouldn’t.
I’m using Rapier for physics, but since I have little experience with it (aside from maybe one project), I relied on AI for about half of the implementation.
Here’s the GitHub repo: GitHub - PrakharGupta36/Bricks
Live demo: https://bricks--r3f.vercel.app/ (beware of the physics!)
I’d really appreciate some help from someone experienced with Rapier!