Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/pathfinder/PathfinderUtil.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function PathfinderUtil.VehicleData:init(vehicle, withImplements, buffer)
-- for implements which are not centered on the hitch point, such as bale wrappers in the working position
towedImplementSideOffset, _, _ = localToLocal(inputAttacherJoint.node, self.towedImplement.rootNode, 0, 0, 0)
dLeft = dLeft - towedImplementSideOffset
dRight = dRight - towedImplementSideOffset
dRight = dRight + towedImplementSideOffset
end
else
self.hitchOffset = self.dRear
Expand Down Expand Up @@ -749,4 +749,4 @@ end

function PathfinderUtil.debug(vehicle, ...)
CpUtil.debugVehicle(CpDebug.DBG_PATHFINDER, vehicle, ...)
end
end