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
48 stars 11 forks source link

Shakiness during Mellee Combat #2390

Closed anthonyselias closed 8 months ago

anthonyselias commented 8 months ago

i get this shakiness. I have gotten it with the default collider dimensions, any clue on what might cause this? Could this be due to A*/ailerp?

https://github.com/suriyun-production/mmorpg-kit-docs/assets/134556081/a0f6d8e2-d571-4644-9cd9-84092d386b08

insthync commented 8 months ago

Try apply this https://github.com/suriyun-mmorpg/UnityMultiplayerARPG_2DAI/commit/326a43ece8d7ca384c53211c30b66cda3b44491b

anthonyselias commented 8 months ago

It still happens :(

anthonyselias commented 8 months ago

https://github.com/suriyun-production/mmorpg-kit-docs/assets/134556081/a6732303-56de-4603-9c0a-57846028d0eb

insthync commented 8 months ago

Try turn interpolatePathSwitches in ai lerp off

anthonyselias commented 8 months ago

It's off with the same behavior. In the video I last posted, it was OFF. Were you able to test and replicate? All it should take it AI Lerp and A*/AIPath + Default colliders to replicate.

anthonyselias commented 8 months ago

Try turn interpolatePathSwitches in ai lerp off

Did you get a chance to further test this?

thanks

insthync commented 8 months ago

I am going to fix it please wait

anthonyselias commented 8 months ago

Also ,not sure if this information might help you, but I'll add it. It does it on mobile aswell. Im still trying to fix it myself, but no luck. looking forward to the fix, thank you

insthync commented 8 months ago

Try the latest commit

anthonyselias commented 8 months ago

Ok, so character stop shaking. But monster behaviour has changed. Now the monsters are shaking. Can you please test with mellee monster? i see that you tested with the archer npc thank you

https://github.com/suriyun-production/mmorpg-kit-docs/assets/134556081/040daa7c-dbfc-46a4-a47a-142a47adda2c

anthonyselias commented 8 months ago

https://github.com/suriyun-production/mmorpg-kit-docs/assets/134556081/c2811648-7f9f-4acf-89a4-f1ce3b8235e5

anthonyselias commented 8 months ago

Also, monsters are stacking on player

insthync commented 8 months ago

Did you remove AILerp/AIPath component?

anthonyselias commented 8 months ago

I have not, do I need to remove it? It was still on the Archer2D prefab you updated in the commit

insthync commented 8 months ago

Yes, you can remove the component.

anthonyselias commented 8 months ago

I removed it, and it's basically the same. When I attack the monster they all gather to the same position and attack me. How can we change it so they will spread out around the player instead of stacking? Colliders don't seem to help.

insthync commented 8 months ago

As I try, it has no problem, I want to see your monster damage info settings

anthonyselias commented 8 months ago

Can you send me your mellee monster prefab?

anthonyselias commented 8 months ago

image

anthonyselias commented 8 months ago

Can you also check if texttransform for monster hits have been effected by the changes? I am unable to see the damage I do to the monsters, but I can see the damage they do to me, i have double checked and the texttransfo image rm

insthync commented 8 months ago

Look at your Monster Character data file (in the image it is Rat), then find for Damage Info, and change settings there.

anthonyselias commented 8 months ago

I started a fresh new project with all changes. It's only fair to troubleshoot it like that because I've made so many modifications and I dont want it to conflict with the work you have done. I'll start a new thread for all future issues.