I'm making a little endless runner. My city has three parts. When you collide with the end of the first part (placed in between the other two), part 3 (again, behind part 1) moves three slots ahead. Collide with 2 and 1 moves 3 parts, and so on. The problem is that in the editor each part is 3042 units long. Moving the city chunks by 9126 units makes them disappear altogether. I've also tried programmatically getting the chunks' sizes by using the code below, but the printout gives me size (0, 0, 0) no matter where I instance the boundingBox. Help?
AABB boundingBox = city.GetTransformedAabb();
Vector3 size = boundingBox.Size;
GD.Print("City size: "+size);