train tracks

Hi guys,
has anyone tried to make train tracks where the wheels of the engine are pinned to some kind of track geometry? I tried using waypoints/nodes to guide a wheelcollider car, but the wheels do not follow an exact path and sometimes slip off of the rails(no meshcollider is applied to rails). I have heard that configurable joints might be a good solution to this problem, but I’m not sure what to do…

Thanks a lot,
Gau

you could try creating an invisible track that looks like this:





v--------v <---- track

the wheels should slide over :slight_smile:

that could work- but do you know how to use fixed or configurable joints? is there a way to slide something along a pre-made geometry or surface?