Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 iPedro · Jan 22, 2012 at 06:39 PM · physicscharactercontrollersticking

CharacterController sticking on certain objects

I am using a CharacterController for my players movement. I have some game objects that are cubes (crates) and I have noticed that when the player is walking across these cubes he is able to literally walk off the side of the cube and just stick to it as if his back is glued to the side of the cube. I have included a picture to illustrate the problem.

alt text

How can I avoid this behavior? The player should just drop off the side of the cube when he comes to the edge.

Thanks so much for any help.!

Comment
Add comment · Show 2
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 iPedro · Jan 22, 2012 at 10:12 PM 0
Share

I noticed the same behavior occurs in the Lerpz 2D game play tutorial that Unity provides. I hope someone has some insight into how to correct this problem....

avatar image iPedro · Jan 23, 2012 at 03:29 AM 0
Share

No takers.... Could this be solved with adding momentum to the CharacterController?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by iPedro · Jan 24, 2012 at 08:42 PM

It's unfortunate that there seems to be so many questions here that don't get so much as a nibble. In my searching for an answer I found that the ratio was about 4:1 of questions that go without so much as a single response let alone an answer. I wonder if perhaps the forums is actually where all the answers are really happening? Anyways I want to post my final thoughts on this in case anyone comes here looking for some kind of answer to a similar problem.

In the end I have decided that it is best to roll your own character controller using a Rigidbody as well as a collider of your choice for this sort of problem. The CharacterController is a great little tool Unity provides for you but it seems to still be extremely limited in it's current state and really the only things I could see it being truly useful for all relate to rapid prototype development or for projects that don't require the use of any real physics... Please anyone feel free to chime in on this statement if you think there is something I missed but I doubt anyone will be and I think I can safely say that if you want the use of Unity's built in physics and any sort of semi realistic player movements, controls, and object/environment interactions you are best to put in a little extra effort and go with the rigidbody/collider method.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Skin Width doesn't fix wall sticking,Skin Width doesn't fix the character controller to stick to walls 0 Answers

Guidelines for using rigidbody, collider, CharacterControllerScript, etc? 3 Answers

Character Controller meets Rigidbody 1 Answer

Lunging with Character Controller 0 Answers

Simulating the Character Controller? 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