UnityTechnologies / open-project-1

Unity Open Project #1: Chop Chop
http://unity.com/open-projects
Apache License 2.0
5.72k stars 2.04k forks source link

Slime Critter pushes player on top of small rocks #383

Open paradox-mp opened 3 years ago

paradox-mp commented 3 years ago

Short description In TestingGround SlimeCritter_Base is able to knock player on top of rocks less than 0.5 units (meters) high. This is observed on both of the rocks less than 0.5 units attached to the larger rock structure. In normal play, player can access this area only by jumping, and not by walking. Was not able to replicate on rocks greater than 1 unit.

Expected behavior Expected player character to remain in place, or be pushed to sides.

Observed Behavior The player was pushed on top of the rock.

To Reproduce Steps to reproduce the behavior:

  1. Open Testing Ground. Press play.
  2. Move player near slime, and get slime to follow player to rocks.
  3. Move player until player character is located very close (exact distance unknown) to a rock that is less than or equal to 0.5 units (again, exact distance unknown).
  4. Position player so that SlimeCritter_Base is directly facing the rock with player in between. (see below).
  5. Wait for slime to attack from this position. Note: no player input is given during movement.

Notes This was discovered when trying to replicate bug https://github.com/UnityTechnologies/open-project-1/issues/349 Two GIFs are attached showing behavior for both small rock attached to large rock structure, as well as a screenshot showing the height of the rock pushed onto.

ChopPushedOntoRocks1

ChopPushedOntoRocks2

HeightOfRock

amel-unity commented 3 years ago

Hi @paradox-mp , thank you for opening the issue. I understand that the behavior you expect is to see the character remain in place, or be pushed to sides. However, the observed behavior can also be expected, as long as the rock is not too high, we can also expect the character to be pushed on top of the rock. As you mentioned this only happens for rocks which have a height less than or equal to 0.5 units and I think it is acceptable in these situations. Does anyone else think this is an issue? On a side note, seems like bug #349 has been fixed as it's not possible to reproduce anymore (at least for me) so we don't have situations where the the player is pushed on top of big rocks. Thanks :)