hkzorman / advanced_npc

Advanced NPC for Minetest, using mobs_redo API
Other
17 stars 5 forks source link

walk_to_pos does not walk to an exact position #55

Closed BrunoMine closed 6 years ago

BrunoMine commented 6 years ago

walk_to_pos program does not walk to an exact position, even using the optimize_one_node_distance=false parameter. This only happens when the NPC needs to go to the next coordinate. When that happens the NPC does not walk, it just rotates. Branch clean_api Minetest 0.5.0-dev Mod test: sociedades In the picture, the NPC should be sideways, but it just rotated to interact. bug de rotacao

hkzorman commented 6 years ago

Latest push (660f00c17da5f76fa46abfd06180cb89e8069424) in branch clean_api is second attempt to fix this. I wasn't able to test with sociedades but I saw noticeable improvement in the farmer NPC in mg_villages_npc. Please try and let me know.

If it doesn't work, I know what to do next.

BrunoMine commented 6 years ago

Sorry, I've been a little busy with another mod that I'm preparing for my future server. The problem was fixed. Thank you.

hkzorman commented 6 years ago

Good to know it is fixed. It is perfectly fine, real life stuff is keeping me busy a lot recently (and will keep doing it for a few weeks) but I always try to get some time for this mod.

BrunoMine commented 6 years ago

All the work done so far seems to be enough to support 99% of my work.