Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix slime hop #447

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

pointfivetee
Copy link
Contributor

Issue: #426
Forum thread: https://forum.unity.com/threads/player-automatically-hops-on-slime-critter-when-walking-into-it.1107092/

Improved collision detection for a handful of game objects.

  • Raised the slime critter's collider slightly, which eliminates the glitchy hopping behavior when the chef tries to walk near one.
  • Decreased the height of the plant critters capsule collider, allowing the chef to hop over it without crashing into an invisible barrier.
  • Gave the bush a tall capsule collider that "turns off" (becomes a trigger) when the player enters a trigger zone above the bush. This eliminates the hopping problem while still allowing the chef to jump over/onto the bush normally.

To test, enter a scene and try navigating near the objects listed above. When walking into them, the chef shouldn't hop or slide around. The chef should also be able to jump over/onto them without hitting an invisible barrier or hovering in midair. (You may want to disable the critters' state machines first so they don't keep trying to bite you.)

@CLAassistant
Copy link

CLAassistant commented Jun 17, 2021

CLA assistant check
All committers have signed the CLA.

@ciro-unity ciro-unity linked an issue Jun 19, 2021 that may be closed by this pull request
@ciro-unity ciro-unity added the bug (minor) The game could potentially ship with this bug label Jun 19, 2021
@amel-unity amel-unity self-assigned this Jun 28, 2021
@amel-unity
Copy link
Contributor

Hi @pointfivetee , thank you for opening the PR to fix the issue :) I just wanted to mention that we are working on fixing the character controller first since we have some unpleasant situations like 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug (minor) The game could potentially ship with this bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Player automatically hops on Slime Critter when walking into it
4 participants