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:
zorman2000
2016-12-29 15:09:30 -05:00
parent d78fee695e
commit 6549a7e4f9
3 changed files with 569 additions and 113 deletions

View File

@ -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",