Skip to content
This repository has been archived by the owner on Feb 13, 2018. It is now read-only.

"Bobbing" issue on certain slopes #26

Open
mjholtzem opened this issue May 28, 2016 · 2 comments
Open

"Bobbing" issue on certain slopes #26

mjholtzem opened this issue May 28, 2016 · 2 comments

Comments

@mjholtzem
Copy link

mjholtzem commented May 28, 2016

When attempting to walk up certain slopes, the character will go into a "bobbing" motion where they go up and then slide down the slope repeatedly. Sometimes the player will become still after a couple loops and sometimes it will continue to bob, not responding to any input at all. Here is a .gif of the bug on the unmodified terrain demo scene. For the duration of the .gif no input is being given.

GIF

P.S. So far other than this issue this controller seems to work awesome!!! Thanks for contributing it to the community :D

@IronWarrior
Copy link
Owner

Hey MJ,
That issue tends to occur when the PlayerMachine keeps swapping between grounded an non-grounded. This happens when the IsGrounded method is not properly detecting the sloped wall (or ignoring it correctly). So while it looks like he's sliding up and down the wall, what's really happening is that he's entering the "falling" state, being pulled back down and then going back up. You can verify this by enabling the PlayerMachineDebug script on the Player object.

It's an old, annoying bug I thought I had fixed. I'll look into if this error happened due to new changes, but the SCC really needs a more in depth grounding system at this point.

@emrys90
Copy link

emrys90 commented Jan 10, 2017

I'm having the same issue. Has any progress been made on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants