Hello! I’m working on a player-driven train, and I was stuck on finding a proper way to apply forces to result in movement. I know this isn’t a particularly new topic, but I couldn’t find anything useful on the forum already.
So far, I’ve got these issues: LineForce doesn’t work on my model VectorForcegives a constant, non-limitable force on the object, which eventually leads to ridiculous speeds. (without more complicated scripts that will periodically turn the force on/off, which I believe will put a lot of strain on the game)
Use a LinearVelocity, set it to Line, and the LineVelocity property is the maximum speed in studs/s. Also set MaxForce to a ridiculous number to ensure that this target is reached properly <3
The best way is to drive your train with actual motors: That is, have wheels which are Ball shaped parts, and use a HingeConstraint with ActuatorType set to Motor to drive them. You can find an example of that here: New 100% Physics Based Cart System