Secondly, you’re setting AssemblyLinearVelocity directly, which is a bad practice to begin with.
(you should use LinearVelocityConstraint instead)
You’re also using a while wait() loop with it, which does not guarantee that the velocity will be updated every physics frame (which it should, and with this solution it probably won’t).
(This is also why it isn’t moving when you set 5 studs velocity as the speed will be lost in friction before the script will update it again)
Thirdly, you’re using Wedges, which have a more complex collision model than Parts. Why not just use a Part that is rotated 45 degrees?
I figured it out by pressing a random button, now if I have a locomotive, followed by a couple of cars, could I add another locomotive to help the first one?
If you’d used my setup or Deadwoodx’s you can just add thrust to each car to help move it.
More locomotives = more parts and more places for it to break.
Also if you could explain my how to do stations, wagons and a good looking transport train it would be really nice, thanks. Either discord or dev forum DM is good for me.
My discord: 𝐖𝐨𝐫𝐤𝐬𝐩𝐚𝐜𝐞#1555
I think to make wagons or train cars you’d have to make it the same way just without the script and welded to a connector which is welded to the main train.
For welding, if you absolutely don’t know how I’ll show you.
Step 1. Make the wagon’s base.
Step 2. Design the wagon around the base, welding each part so they don’t come undone.
Step 3. Weld a connector part (one that you made) to the base of the main train.
If you need more help let me know