Train physics

Blitz3D Forums/Blitz3D Programming/Train physics

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Basically, the trains move at some speed according to signs, you control switches and can override speed if wanted. The puzzles are normally to make a train line that can get cargo from one place to another for a while according to certain time limitations, cargo carrying limits, etc. There may also be many trains at once, probably crossing over the same main line, in which case you would have to get perfect timing to make it work right.

The part I'm confused about for the physics isn't connecting the wagons, but the wheels and engine. How can I get the engine to move using its wheels or some faked method? And then how can I get the wagons to have wheels that hold onto the track sufficiently?