Three hours to make a conveyor belt. I swear im not inflating. This was really hard. I tried so many things. I eventually came around to the realization that the only way to do this was to get the total direction of conveyors acting on a package, and apply speed based on that. Before I figured that out I tried so much else. I tried checking when an object leaves and enters a conveyor, but that doesn’t work because objects enter a new conveyor before leaving the last one. I then tried applying the motion directly, while it was on the belt, but that didn’t work either.
I tried so many other things that I can’t even remember now, and came across some wild issues. I’ll attach some videos of me accidentally sending boxes to NAN. (you can still see them because Godot panics and just keeps showing them where they were)
Also I had to use a bit of AI to figure out how to apply the motion properly, because you need to maintain physics, while applying motion. Sorry, but at least theres only like 3 lines of AI code.
Also I love 4.6. Only wish is for editor level plugins or git support. Apparently the Forward+ renderer compiles to web as well now? Didn’t know, but it let me.