Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Shawn Miller · May 04, 2011 at 04:08 PM · playerbounce

Player "bouncing" while moving in reverse?

I encountered a glitch where moving backwards across a platform causes the player controller to bounce for no known reason. I figured it might have been caused by the code I had written but the problem existed even after all custom code was commented out. It seems that there are 2 factors that affect it: speed and height. The higher the speed, the greater the bouncing and, while I can't really confirm this, it seems that the player bounces more the farther its y value gets from 0.

Any clue as to what could be causing this?

Using the standard physics with an FPSWalker and Mouse Look attached to the camera. All objects in the game are just cube primitives--just creating a simple demo platformer for class.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by GesterX · May 04, 2011 at 04:12 PM

It sounds like the physics material of your platform is set to "bouncey".

If not that then we would need to know a bit more about your setup (objects in scene, physics used, etc)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Byterunner · May 04, 2011 at 04:20 PM

I've encountered this as well when using the FPS controller. If you are looking up into the air while walking forward or down at the ground while walking backward you will jump up into the air a bit before gravity pulls you back down to the ground. The effect is that it looks like you're jumping. If this is what you're encountering, you can do all of your gravity calculations before doing the actual movement of the player controller and that should eliminate the bouncing (it did for me).

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image shgdi · Jan 22, 2019 at 03:19 PM 0
Share

please share the gravity calculations

avatar image
0

Answer by Tomasic212 · Dec 23, 2020 at 08:51 AM

Happens to me too. i tried to move every gravity thing i found to the beginning of the Update() but still the same. "https://youtu.be/_QajrabyTJc" This is the video i used to make my script. I also noticed that if i look down while walking forward and jumping it jumps lower. Same looking up (jumps higher). I would really appreciate helping me out with that issue. Thanks, Tom Markovich.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

My Player keeps launching into the air 4 Answers

Player Bouncing off Walls 3 Answers

How to make a 2D "trampoline"? 2 Answers

Physics controls with look ahead. 0 Answers

Dictionary - Works in Editor, and in Dev Build, but not in Release Build? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges