Connection Variables glitch when there are multiple connections
DrprofLuigi opened this issue ยท 2 comments
In the following screenshots, the trailer stand has the following animation:
{
"objectName": "$Stand",
"animations": [
{
"animationType": "translation",
"variable": "!connection_1_1_connected",
"axis": [0, -0.375, 0]
}
]
}
There is an invisiwheel that applies after this part to hold the trailer when no truck is connected.
When the trailer is by itself, everything works as it should:
However, when there is a dolly connected to the bumper part on the trailer, the variable connection_1_1_connected
seems to get confused and not work properly:
I believe this is because somehow connection_1_1_connected
is pulling from the bumper part, rather than the trailer:
This may be related to trailer panel buttons not working consistently, as that only a problem when there are multiple connection points possible.
For example, my HUD trailer button does not always reflect the main hitch connection as it is somehow 'linked' to the bumper connection at times.
This dolly was connected via the panel, despite there only being one button, and the truck is already connected to the trailer.
The panel button doesn't change state to 'disconnecting', and instead tries to connect a trailer to the dolly.
In fact, it seems like it is always trying to connect the last connection point in the chain.