AyserJamshidi / DarkBetrayal

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

Fear #46

Open AyserJamshidi opened 6 years ago

AyserJamshidi commented 6 years ago

Need to check fear. Fearing someone towards a wall will sometimes push them down the floor.

AyserJamshidi commented 6 years ago

Issue may lie in the fear effect handler. It attempts to find the closest collision and walk to it. Maybe we can get the vector and make sure it limits itself 1x/1y, more or less, from the object so instead of us getting close to it and risk falling through it will stop pushing the feared player when they are close to a wall.