Hey there, I’m making a simple cart ride game but for some reason the cart wont go up this darn ramp LOL. I dont know if it has to do with the power or what. Please help if you can!
Check my code again, I realized I took the wrong approach. I’m on my lunch break and on my phone, so if you still have the issue unsolved in a few hours I will be back to help.
It works but the same issue occurs. It just gets stuck. I messed around with speed and it seemed for it to go up I had to put the speed really high like over 100 but then you would just fly off LOL. Thanks for your help so far!
Sorry for late response, I was sleeping. This is what it prints. Once it gets stuck the velocity just stays the same at 24.988180160522, -14.968077659607, 1.2440221309662.
What is the BodyVelocity’s MaxForce set to? You can try setting it higher. You can also try disabling its Y component (e.g. 100000, 0, 100000). If neither of these work the part is probably physically getting stuck somewhere.
I fixed it by just turning everything on massless but now another problem is the cart falls off the tracks way to easy. PROBLEM. This Also happens when going on a ramp really slow.
You can keep massless on since it won’t be the reason the cart falls. You can try putting a BodyForce inside the main part and set its force to a negative number. I would just experiment the number until you get a good balance of stable and unstable.
The MaxForce of your BodyVelocity will always need to be larger than whatever number you set your BodyForce to or else it’s going to slow down the cart.