Player Slides Constantly

When I take weapon and try to attack somebody, player just starts sliding while attacking and changing its direction continually. Also, enemy does that thing. I don’t know what is the reason but it annoys me. Could you please help me ?

It sounds like your not canceling the movement when you get within range of the attack.

I have checked already but its not like that, I think something is going wrong on my NavMeshAgent because player really slides slowly not just like walking animation.

Can you make a video of what’s going on? My next guess is that the animation speeds aren’t set correctly in the blend tree… Match Animation To Movement | GameDev.tv

I have prepared that video. After I get down from highground it just starts rotating anormally even if I don’t click anywhere and slides slowly like this.

If you have a Rigidbody attached to your character, make sure that it’s set to IsKinematic.

Paste in your Mover.cs, and Fighter.cs and I’ll see if anything sticks out.

Yup, setting IsKinematic solved my problem. Thanks a lot

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms