Trace value changed

This commit is contained in:
funkyfranky 2017-10-08 22:58:39 +02:00
parent d0c6a9756c
commit 09fd43a3c9

View File

@ -484,8 +484,7 @@ end
-- @param #number NearRadius The radius when the cargo will board the Carrier (to avoid collision).
-- @return #boolean
function CARGO:IsNear( PointVec2, NearRadius )
self:E( { PointVec2, NearRadius } )
self:E(self.CargoObject:GetPointVec2())
self:F( { PointVec2, NearRadius } )
--local Distance = PointVec2:DistanceFromPointVec2( self.CargoObject:GetPointVec2() )
local Distance = PointVec2:Get2DDistance( self.CargoObject:GetPointVec2() )