revert collisionbox change
parent
14ccac7c86
commit
a7534e9388
5
init.lua
5
init.lua
|
@ -44,7 +44,7 @@ end
|
|||
local boat = {
|
||||
physical = true,
|
||||
--collisionbox = {-0.5, -0.4, -0.5, 0.5, 0.3, 0.5}, -- rowboat
|
||||
collisionbox = {-0.5, -0.35, -0.5, 0.5, 0.15, 0.5}, -- boat
|
||||
collisionbox = {-0.5, -0.35, -0.5, 0.5, 0.3, 0.5}, -- boat
|
||||
visual = "mesh",
|
||||
--mesh = "rowboat.x",
|
||||
mesh = "boat.obj",
|
||||
|
@ -103,7 +103,8 @@ end
|
|||
|
||||
function boat.on_activate(self, staticdata, dtime_s)
|
||||
|
||||
if mobs and mobs.entity and mobs.entity == false then
|
||||
if (mobs and mobs.entity and mobs.entity == false)
|
||||
or not self then
|
||||
self.object:remove()
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue