• 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 awplays49 · Mar 25, 2015 at 11:15 PM · collisionrigidbodystickphysics materialsticking

Question about configuration of physics 3D materials

Hi, I was wondering what I'm doing wrong with my configuration with my physics materials.

I was attempting to make a material that reduces "sticking" behavior. I did so by adding a 0-friction material to both blocks and player (yes blocks I'm making a sandbox game)

This is the biggest (and really only) issue I've ever had with Unity. Luckily I've never made a game that absolutely requires physics material to fix the colliders sticking, but now I want to step up my game and make a legit Minecraft-inspired game. Usually I'd just turn the framerate way up, to like 1000FPS, but that isn't always the best choice, and a big cost in performance. Therefore I come to Unity Answers.

The problem exactly, is not that when I'm walking, I get stuck in walls, but if I jump, then in midair move into a wall, I get stuck in midair and my player almost "ignores" gravity, and eventually gets unstuck, or overtime just VERY slowly slides downwards. Also, if I am walking into a wall, and THEN jump, I can only see very little movement. If i walk into an inward corner and jump, I literally don't go down at all.

Like I said, I tried using a physics 3D material to reduce this issue, but setting friction to 0 made my player bug out like crazy.

I may have sidetracked a little, so I'd like to remind the community that what I'm trying to ask is, what configuration of physics materials, between player and blocks, will cause me to not stick to walls nor glide? I await the reply of the community and will appreciate and acknowledge any support given. Thank you in advance and once again I await your replies!

EDIT

I found out, if I make a physics material with 0.1 friction (dynamic and static) the player only sticks to 2-block high walls and above. Even MORE specific, I think I am landing on the top of the bottom block's collider, even though they are completely lined up!

Comment
Add comment · Show 10
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 awplays49 · Mar 26, 2015 at 10:06 PM 0
Share

@ExtremePowers the new question

avatar image MakakWasTaken · Mar 26, 2015 at 10:22 PM 0
Share

I am using my new account, have you tried importing the physics materials that unity made?

 Assets > Import Package > Physic $$anonymous$$aterials
avatar image awplays49 · Mar 26, 2015 at 10:28 PM 0
Share

@$$anonymous$$akakWasTaken I just reread your comment, and deleted my last comment.

I didn't realize at first that you meant the physics material presets. However, I don't have the package option. Can you tell me some of the presets?

avatar image MakakWasTaken · Mar 26, 2015 at 10:28 PM 0
Share

I have read that a friction of 0 is good, but you could try other settings and see which ones for you best. Start with the low values and make it .1 higher each time.

avatar image awplays49 · Mar 26, 2015 at 10:30 PM 0
Share

@$$anonymous$$akakWasTaken the problem with little or no friction is I bounce all over the place, and the problem with high or 1 friction is I start sticking to walls, and that's why I am posting.

Show more comments

0 Replies

· Add your reply
  • Sort: 

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

21 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

¿How to make a ball react properly against two different physic's materials? 0 Answers

OnCollisionEnter doesn't work if enemies and allies have rigidbody ? 1 Answer

Making a rigidbody stick to its position 4 Answers

Rigidbody: how to get collisions for the current frame ? 0 Answers

how to make an Explosive rigidbody trigger by another collision box 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