mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Added 3 meters to the bounding radius to ensure infantry gets properly boarded around the carrier unit.
This commit is contained in:
parent
185c27013d
commit
dffd66940d
@ -279,7 +279,7 @@ function POSITIONABLE:GetBoundingRadius()
|
|||||||
local Z = Box.max.z - Box.min.z
|
local Z = Box.max.z - Box.min.z
|
||||||
local CX = X / 2
|
local CX = X / 2
|
||||||
local CZ = Z / 2
|
local CZ = Z / 2
|
||||||
return math.max( CX, CZ )
|
return math.max( CX, CZ ) + 3
|
||||||
end
|
end
|
||||||
|
|
||||||
BASE:E( { "Cannot GetBoundingRadius", Positionable = self, Alive = self:IsAlive() } )
|
BASE:E( { "Cannot GetBoundingRadius", Positionable = self, Alive = self:IsAlive() } )
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user