EverWrath/deps
Yehonal c8f43d8584
feat(Core/Movement): Improved pathfinding, collisions and movements (#4220)
Npc positioning
Implemented slope check to avoid unwanted climbing for some kind of movements (backwards, repositioning etc.)
Implemented backwards movement
Re-implemented circle repositioning algorithm (smartest than retail, but with the same feeling)
Fixed random position of summoned minions
Improved pet following movement. Also, they attack NPC from behind now. Thanks to @Footman

Swimming creatures
Fixed max_z coordinate for swimming creatures. Now only part of their body is allowed to be out of the water level
Fixed pathfinder for swimming creatures creating shortcuts for specific segments, now they swim underwater to reach the seashore instead of flying above the water level.
Creatures with water InhabitType but no swimming flag now, when not in combat, will walk on water depth instead of swimming. Thanks @jackpoz for the original code
UNIT_FLAG_SWIMMING in UpdateEnvironmentIfNeeded to show the swimming animation correctly when underwater
Implemented HasEnoughWater check to avoid swimming creatures to go where the water level is too low but also to properly enable swimming animation only when a creature has enough water to swim.

Walking creatures
Extended the DetourNavMeshQuery adding area cost based on walkability (slope angle + source height) to find better paths at runtime instead of completely remove them from mmaps
improve Z height in certain conditions (see #4205, #4203, #4247 )

Flying creatures
Rewriting of the hover system
Removed hacks and improved the UpdateEnvironmentIfNeeded. Now creatures can properly switch from flying to walk etc.
Spells
LOS on spell effect must be calculated on CollisionHeight and HitSpherePoint instead of position coords.
Improved position for object/creature spawned via spells
Improved checks for Fleeing movements (fear spells)

Other improvements
Implemented method to calculate the CollisionWidth from dbc (used by repositioning algorithm etc.)
Improved raycast and collision checks

Co-authored-by: Footman <p.alexej@freenet.de>
Co-authored-by: Helias <stefanoborzi32@gmail.com>
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-02-01 01:34:27 +01:00
..
acelite chore(Core): forgot to add copyright in new files + small correction (#3861) 2020-12-07 21:05:13 -06:00
bzip2 chore(Core): forgot to add copyright in new files + small correction (#3861) 2020-12-07 21:05:13 -06:00
cotire feat(Cmake): Rewrite build and use inherited dependencies (#1652) 2019-04-01 22:41:08 +02:00
drassil fix(Bash): db-export on macOS (#4342) 2021-01-28 22:53:42 +01:00
fmt chore(Core): forgot to add copyright in new files + small correction (#3861) 2020-12-07 21:05:13 -06:00
g3dlite chore(Core): forgot to add copyright in new files + small correction (#3861) 2020-12-07 21:05:13 -06:00
gsoap chore(Core): forgot to add copyright in new files + small correction (#3861) 2020-12-07 21:05:13 -06:00
hw-core Directory Structure [step 1]: moving files 2017-10-12 20:00:52 +02:00
jemalloc chore(Core): forgot to add copyright in new files + small correction (#3861) 2020-12-07 21:05:13 -06:00
jsonpath refactor(Travis): Remove unused travis files (#3364) 2020-09-16 14:15:28 +02:00
libmpq chore(Core): forgot to add copyright in new files + small correction (#3861) 2020-12-07 21:05:13 -06:00
mysql chore(Core): forgot to add copyright in new files + small correction (#3861) 2020-12-07 21:05:13 -06:00
mysqllite Fixed compilation after dir rework 2017-10-13 19:22:53 +02:00
openssl chore(Core): forgot to add copyright in new files + small correction (#3861) 2020-12-07 21:05:13 -06:00
readline chore(Core): forgot to add copyright in new files + small correction (#3861) 2020-12-07 21:05:13 -06:00
recastnavigation feat(Core/Movement): Improved pathfinding, collisions and movements (#4220) 2021-02-01 01:34:27 +01:00
semver_bash missing executable permissions for *.sh files 2018-07-15 23:22:20 +02:00
SFMT chore(Core): forgot to add copyright in new files + small correction (#3861) 2020-12-07 21:05:13 -06:00
threads chore(Core): forgot to add copyright in new files + small correction (#3861) 2020-12-07 21:05:13 -06:00
utf8cpp chore(Core): forgot to add copyright in new files + small correction (#3861) 2020-12-07 21:05:13 -06:00
zlib chore(Core): forgot to add copyright in new files + small correction (#3861) 2020-12-07 21:05:13 -06:00
.gitignore Directory Structure [step 1]: moving files 2017-10-12 20:00:52 +02:00
CMakeLists.txt chore(Core): forgot to add copyright in new files + small correction (#3861) 2020-12-07 21:05:13 -06:00
PackageList.txt feat(Cmake): Rewrite build and use inherited dependencies (#1652) 2019-04-01 22:41:08 +02:00