Sinuousity@lemmy.worldtoProgrammer Humor@programming.dev•Only 5 years out of date now 🙃
8·
1 month agoConfusing syntax to replace confusing syntax, library dependencies that let you do nothing you couldn’t do without them. Generic solutions are always the best for specific problems, right?
Looks like each train car is rotating around its center, causing the front and rear ends to leave the tracks when turning. You’ll want to sample two points on the track, one at each end of each train car where the wheels would be, then use the two points to position the car more correctly.