Godot railroad track spline9/16/2023 ![]() I ran into problems when the rails were at higher or lower elevations which added more complexity.I was thinking of adding some sort of waypoint system instead but I'm having trouble wrapping my head around this insofar of making sure the next waypoint is correct facing track to the previous waypoint. The train engine would check to make sure each rail was connected by checking these coordinates between two rails to see if they match (two rails facing each other properly side by side) and if they do, the rail is connected so the train could move forward. Each rail stored a list of coordinates that were open for connecting to other rails. In my previous setup, user places voxel rails and as the train engine moved from one to the next, every time train ran it would scan several blocks ahead and built a list of rails. I've been working on a railroad system for a voxel game I'm making but pretty much starting over from scratch again after my previous system has caused so many head aches.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |