From dffd66940d55fa55bbcdf71942eb604bf8398b78 Mon Sep 17 00:00:00 2001 From: FlightControl Date: Sun, 26 Aug 2018 09:05:48 +0200 Subject: [PATCH] Added 3 meters to the bounding radius to ensure infantry gets properly boarded around the carrier unit. --- Moose Development/Moose/Wrapper/Positionable.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Moose Development/Moose/Wrapper/Positionable.lua b/Moose Development/Moose/Wrapper/Positionable.lua index 08889ea78..ac10a4f90 100644 --- a/Moose Development/Moose/Wrapper/Positionable.lua +++ b/Moose Development/Moose/Wrapper/Positionable.lua @@ -279,7 +279,7 @@ function POSITIONABLE:GetBoundingRadius() local Z = Box.max.z - Box.min.z local CX = X / 2 local CZ = Z / 2 - return math.max( CX, CZ ) + return math.max( CX, CZ ) + 3 end BASE:E( { "Cannot GetBoundingRadius", Positionable = self, Alive = self:IsAlive() } )