mirror of
https://github.com/ElCeejo/creatura.git
synced 2025-05-21 07:13:19 -04:00
Restore 0.2 padding in pathfinder.moveable
This commit is contained in:
parent
076e8423ae
commit
f096939f27
1 changed files with 4 additions and 4 deletions
|
@ -20,14 +20,14 @@ end
|
|||
|
||||
local function moveable(pos, width, height)
|
||||
local pos1 = {
|
||||
x = pos.x - width,
|
||||
x = pos.x - (width + 0.2),
|
||||
y = pos.y,
|
||||
z = pos.z - width,
|
||||
z = pos.z - (width + 0.2),
|
||||
}
|
||||
local pos2 = {
|
||||
x = pos.x + width,
|
||||
x = pos.x + (width + 0.2),
|
||||
y = pos.y,
|
||||
z = pos.z + width,
|
||||
z = pos.z + (width + 0.2),
|
||||
}
|
||||
for z = pos1.z, pos2.z do
|
||||
for x = pos1.x, pos2.x do
|
||||
|
|
Loading…
Add table
Reference in a new issue