First, I resized the fluid wagon down to a 2 length wagon, and tried to connect pipes to it to see what would happen. (This is something I actually plan to do, but haven't done graphics yet, code testing first)
This is basically accomplished by changing the following tags to the specified values:
Code: Select all
collision_box = {{-0.6, -0.6}, {0.6, 0.6}},
selection_box = {{-1, -0.703125}, {1, 1.296875}},
joint_distance = 0,
https://www.dropbox.com/s/tcswcswi7318r ... 6.png?dl=0
https://www.dropbox.com/s/0m6r06vyo1smq ... 9.png?dl=0
https://www.dropbox.com/s/2gi68hcjokwfl ... 1.png?dl=0
https://www.dropbox.com/s/2io32k3uy5j8s ... 3.png?dl=0
as you can see, the ones placed outside of the collission box correctly do not try to connect.
Also, as expected, only one pump tries to connect.
However, 2 of the 4 possible pump locations results in an odd connection attempt.
Moving on. This one I'm not sure if it's a bug, or a request, however, I tried tried to make a 10 length wagon. Here is the code changes.
Code: Select all
collision_box = {{-0.6, -4.6}, {0.6, 4.6}},
selection_box = {{-1, -2.703125}, {1, 5.296875}},
joint_distance = 8,
https://www.dropbox.com/s/jgbfhboz2c8tb ... 6.png?dl=0
As you can see, only 3 of the 5 pumps try to connect. It's not entirely unexpected, but not the desired behaviour, when placing the pump, the ground does highlight a yellow square around what would be the two far end tanks, they just don't actually connect.