Actions: Fixed turns walking through paths.
Improved algorithm to include doors and fence gates using default API. NPC: Improved collisionbox.
This commit is contained in:
4
npc.lua
4
npc.lua
@ -392,8 +392,8 @@ mobs:register_mob("advanced_npc:npc", {
|
||||
hp_min = 10,
|
||||
hp_max = 20,
|
||||
armor = 100,
|
||||
--collisionbox = {-0.35, -1.0, -0.5, 0.35, 0.8, 0.25},
|
||||
collisionbox = {-0.35, -1.0, -0.15, 0.35, 0.8, 0.35},
|
||||
collisionbox = {-0.20,-1.0,-0.20, 0.20,0.8,0.20},
|
||||
--collisionbox = {-0.35,-1.0,-0.35, 0.35,0.8,0.35},
|
||||
visual = "mesh",
|
||||
mesh = "character.b3d",
|
||||
drawtype = "front",
|
||||
|
Reference in New Issue
Block a user