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

Missile and raycast attack problem #2407

Closed CLAXES closed 4 months ago

CLAXES commented 5 months ago

Hello, when I use one of these, when I go inside the damage hitbox collider area, the hits are wasted, I guess the damage does not work.

When the monster is big, the damage hitbox collider is also big and the archer's shots are wasted when the monster approaches

insthync commented 5 months ago

I will check it

CLAXES commented 5 months ago

This problem occurs when there is a big monster and the archer gets into it when it gets too close

CLAXES commented 5 months ago

Have you had a chance to check

insthync commented 5 months ago

Not yet.

insthync commented 4 months ago

Seems like I cannot do anything, the hit detection codes, is Unity's stuff, I can change anything, if you want to try to fix it then in MissileDamageEntity.cs find for Physics.Raycast and try to do something