Original trains bounding boxes displaced from track axis.
Posted: 02 Oct 2023 09:15
Why are the bounding boxes of the trains offset with respect to the axis of the tracks?
I have noticed that it causes problems in the trains development, in the original trains it does not cause problems due to its small scale where the graphics of the locomotives do not coincide / overlap with the stations bounding boxes but there is a problem that all developers have , CZ, GETS, Real Trains, etc... and those displaced bounding boxes force us to create complicated setups, CZ for example uses vehicles in 3 parts but in addition to a main graphic it needs additional nose and tail graphics so that the Locomotives do not have errors with bounding boxes, something similar happens with get and Real Trains as well.
With this I say that it is not possible to use a 3-part setup made up of a central graphic + 2 invisible parts but rather it is necessary to have graphics in all 3 parts.
I think it would be best to fix those bounding boxes by aligning them with the track axe. Look closely, the graphical error on the locomotive occurs right at the point where the locomotive's bounding box ends, if it wasn't offset and aligned across this it wouldn't happen.
The expected and correct thing would be for the bounding box to match the graphics and this doesn't even happen on the original trains/locomotives in the game. If one wanted to move the game's original graphics to match the bounding boxes, they would be out of place, so what is wrong is the bounding boxes being moved outside of their natural and correct location. I imagine that there must be a reason that I don't know for this to be the case, but it seemed like a good idea to propose it anyway.
The truth is that they would make life much easier for content developers, thanks in advance.
I have noticed that it causes problems in the trains development, in the original trains it does not cause problems due to its small scale where the graphics of the locomotives do not coincide / overlap with the stations bounding boxes but there is a problem that all developers have , CZ, GETS, Real Trains, etc... and those displaced bounding boxes force us to create complicated setups, CZ for example uses vehicles in 3 parts but in addition to a main graphic it needs additional nose and tail graphics so that the Locomotives do not have errors with bounding boxes, something similar happens with get and Real Trains as well.
With this I say that it is not possible to use a 3-part setup made up of a central graphic + 2 invisible parts but rather it is necessary to have graphics in all 3 parts.
I think it would be best to fix those bounding boxes by aligning them with the track axe. Look closely, the graphical error on the locomotive occurs right at the point where the locomotive's bounding box ends, if it wasn't offset and aligned across this it wouldn't happen.
The expected and correct thing would be for the bounding box to match the graphics and this doesn't even happen on the original trains/locomotives in the game. If one wanted to move the game's original graphics to match the bounding boxes, they would be out of place, so what is wrong is the bounding boxes being moved outside of their natural and correct location. I imagine that there must be a reason that I don't know for this to be the case, but it seemed like a good idea to propose it anyway.
The truth is that they would make life much easier for content developers, thanks in advance.