Trainwork | Railway systems creation framework - Devlog #1

These past 2 days I’ve been working on a framework and here’s what I built so far.

General rail and train system

Switches

Switches are identified by their structure which requires two routes.

The train currently gets stuck when going from a route to the main rail but that’s a behavior that will be supported soon.

4 Likes

Wow not bad but it seems like its not performant saying as you’re getting 10 fps.

No that’s just my PC which lags when running OBS and the fact that it currently creates a green dot (for debugging) for every point it scans to find a rail piece.

1 Like

Did you use tweens or physics or something else to pull this off?

I used Raycasts to check where the next track point is

1 Like