I’m working on a game set in the mines where players use a “mining train” to traverse the environment. I want to implement physics, so I’m looking to use Roblox’s built-in vehicle system. My ultimate goal is to have the train move both up and down slopes, but for now, I’m focusing on getting it to move smoothly in a single direction.
The problem is that I’m not experienced with creating vehicles, and no matter what I try. Whether that’s following YouTube tutorials or searching through the DevForum, I either end up with a buggy movement system that barely works or a script that doesn’t function at all.
So I am seeing what would be the best direction I should head with making a script like this and if there is anything I may of not tried yet.
Try searching cart or train on the forums. There are plenty of posts about physics trains using wheels with sliders or secondary wheels under and between the rails to keep the train from derailing. If you use @Scottifly in the search you’ll see I’ve posted in quite a few of them with some tutorial models that will climb slopes.
Basically you’re looking for the VehicleSeat Throttle property to control your speed, whether it’s by HingeConstraints in the wheels, LinearVelocity, or by VectorForces. I’ve covered all 3 in one of my latest models.
Alright I’ll have a look around, when I was searching all I could see was how to make an automatic train while I wanted my one to be driveable, I may have scrolled past a few so I’ll look around again.
Sounds good.
Also please reply to the person you want to, not yourself.
I didn’t get a notification of your reply but just happened to see that someone had posted on it.