-
Notifications
You must be signed in to change notification settings - Fork 317
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
Rotation via mouse when walking causes violent shaking #18
Comments
Try actually building the game, the editor has shaky Player Controller issues, but the build does not for me. |
@slippedhal0 Building the game doesn't seem to fix the issue (at least for me). I have noticed though, that the issue only seems to really happen when the player looks around along the X axis (looking up and down doesn't have the problem). I imagine this is due the fact that, when the camera turns left or right, it's rotating the player object as a whole and not just the camera (whereas looking up and down only moves the camera). This means there's physics involved and something about that is being thrown off, resulting in the jerkiness seen here: @SebLague Could you give us a hand in fixing this issue? There has been at least one other issue posted here with a bunch of people reporting that they have the same problem. It's really messing things up for a lot of folks here. |
Fixed shakiness described in issues SebLague#13 and SebLague#18 , Unity updated to 2020.3.1f1 (77a89f25062f)
Commited to a PR that should hopefully fix this issue. |
In the Player Controller script there is an Update and a Fixed Update. I moved the code being run in the Update to the Fixed Update. Stopped the jitter. |
I must say i absolutely love this project!
But unfortunately every time i get off the spaceship onto the surface of a planet, the character controller starts spasming violently every time i rotate the player via moving the mouse. If anyone has found an easy way to fix this issue id love to hear it or hopefully someone can at-least help me brainstorm why this problem happens.
Thanks!
The text was updated successfully, but these errors were encountered: