open-project-1 icon indicating copy to clipboard operation
open-project-1 copied to clipboard

Player automatically hops on Slime Critter when walking into it

Open asb9599 opened this issue 4 years ago • 1 comments

Short description Very minor issue, but if the player is walking into the Slime Critter (which can happen if you are attacking while moving) or any other small objects with similar colliders (i.e. bushes), they will automatically hop up. This can make fighting the Slime Critters pretty awkward if you're facing them head on.

Expected behaviour Player will stay on the ground as it walks around the Slime, just like how they walk around the Plant Critter.

To Reproduce Steps to reproduce the behavior: 0. Set player health to an absurdly high number to avoid death while testing (optional)

  1. Open TestingGround or any gameplay scene.
  2. Approach the Slime Critter (or one of the bushes) and walk/run into it
  3. Player will sometimes forcibly hop as if trying to get over it

Notes

  • The following video shows the typical occurrence of the bug as you try to walk into a Slime Critter:

https://user-images.githubusercontent.com/32971129/117580974-5e7b0380-b0c8-11eb-9e58-32811ce50b8f.mp4

  • The bug is easier to reproduce if you disable the AI of the Slime Critter and just keep walking into it, like this:

https://user-images.githubusercontent.com/32971129/117581035-bb76b980-b0c8-11eb-8a05-48b865ab4d7d.mp4

  • As mentioned before, this isn't just limited to the Slime Critter. You can reproduce this bug with any small physical object as you can see from the bushes here:

https://user-images.githubusercontent.com/32971129/117581184-99ca0200-b0c9-11eb-9bf1-2bf1c7551dd0.mp4

  • I did notice that this does not happen when walking into the Plant Critters. The player just walks around them as shown here:

https://user-images.githubusercontent.com/32971129/117581300-1c52c180-b0ca-11eb-9695-024a48958e38.mp4

asb9599 avatar May 09 '21 17:05 asb9599

Hi @asb9599 , thank you for opening the issue. There is a PR open that might fix it but I just wanted to mention it here also that we are working on fixing the character controller first since we have some unpleasant situations like what you mentioned on the issue or when the character gets stuck so we will try to fix that first and then we can work on the minor issues with the colliders on the objects. Thanks!

amel-unity avatar Jun 30 '21 12:06 amel-unity