Keeping carts on rails when rails curve

I’ve made the cart, the scripts but now I have this problem. My cart doesn’t stay on the rails. It refuses to steer. Here’s a video of it in action.
my cart example,
cart constraints

The cart is made with SpringConstraints, PrismaticConstraints and HingeConstraints.

Here’s a video of what I’m trying to achieve. cart from other game

Hello!

Seeing that you have a curve on that rail track that isn’t fully together, I suggest flawlessly connecting each of those individual parts to see if the train runs smoothly.

Thanks for the reply, I managed to fix it by making the wheels really heavy, and making the gravity bigger.