suriyun-production / mmorpg-kit-docs

This is document for MMORPG KIT project (https://www.assetstore.unity3d.com/#!/content/110188?aid=1100lGeN)
https://suriyun-production.github.io/mmorpg-kit-docs
49 stars 11 forks source link

Enemy not facing the right direction. #2387

Closed anthonyselias closed 6 months ago

anthonyselias commented 6 months ago

I am using 2DAI with AILerp. When I attack enemies, they do not face the correct directions. Instead of facing my direction they face a random different direction. How can I fix this?

Also, if I do not cause damage to enemy in the first hits, the enemy won't attack. Enemy only attacks if I do the first hit with the attack setting at non aggressive.

insthync commented 6 months ago

https://github.com/suriyun-mmorpg/UnityMultiplayerARPG_2DAI/commit/8ffcda570d48628fd74ef5f14903237e3674cb8a

anthonyselias commented 6 months ago

suriyun-mmorpg/UnityMultiplayerARPG_2DAI@8ffcda5

Thank you bro!