AyserJamshidi / DarkBetrayal

DarkBetrayal progress
http://www.DarkBetrayal.com
GNU General Public License v3.0
0 stars 0 forks source link

Geodata doors #19

Open AyserJamshidi opened 6 years ago

AyserJamshidi commented 6 years ago

Mobs near geodata doors get line of sight issues

AyserJamshidi commented 6 years ago

Doors are considered geometrical objects with no name or properties apart from a bounding box position. Try to use the bounding box position as a wall and compare player/target positions, check if bounding box is obstructing view, if so, then the player can in fact not see its target.

AyserJamshidi commented 6 years ago

First revision has been applied and works flawlessly inside of Sauro Supply Base. capture

AyserJamshidi commented 6 years ago

Build 191 implements revision 2 showing performance improvements. Doors with geo mesh of vritra_common_door are not detected, server side geo issue possibly. Will improve later. Moving to TODO.