Train slowing down on corners

hello, i’ve currently been working on a train driving system which uses a linearvelocity, however anytime i go round a corner the train decelerates until it stops which i dont want. the only way to stop this is to increase the force, however this just makes it accelerate ridiculously fast when its not on a corner, which i also dont want. i have attached 2 videos, one is how it should accelerate normally and the other is what happens on a corner. i have also tried editing the elasticity of the gliders in the bogies and the rails, however both of these are not working
robloxapp-20231112-1719042.wmv (1.1 MB)
robloxapp-20231112-1719136.wmv (4.5 MB)

i have also tried a boosting force that only activates when the hinge constraints inside the bogies go past a certain angle, however this also seems to create a simular problem to increasing the force.

any help would be greatly appreciated

1 Like

You could do some kind of if corner then statement and change the velocity accordingly.

i have tried this with a script that would detect if the hinge constraint was over a certain angle and would enable a boost force (another linear velocity) but that would either not do anything or go ludicrously fast

update with this, ive tried increasing the gravity, increasing the density of the gliders and bogies, changing the density and gravity and i am still having this problem, its also bouncing up and down even on perfectly straight track, which is also contributing to the problem i believe.

im pretty sure this is because your linear velocity is on the global axis and will just constantly push your train in one nonchanging direction, so when it turns it just stops because it cant derail itself to go in that direction.

Screenshot 2023-11-20 224404
the properties of the linearvelocity are set to line so i dont think its got anything to do with that

Screenshot 2023-11-20 224523
the customphysicalproperties of the gliders are shown in this image, ive tried messing about with the elasticity however the result is the exact same

try not using line, i’m not at my pc rn so i couldn’t tell you what the difference is but it’s worth a shot.

i’ve managed to find the source of the problem, which was the train bouncing and then the bottom gliders hitting against the rails. unfortunatly this is still a problem and if anyone has any idea on why its bouncing please do let me know

(gliders are all set to 0 elasticity with 100 elasticity weight, 100 density and 0 friction)