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 awplays49 · Mar 22, 2015 at 12:29 PM · collisionmaterialphysics material

*Need help, still unsolved* How to use physics materials to make a solid collision system with minimum penetration?

Hello, in one of my last questions I was told I could use physics materials to perfect my collision in my game, because 1000FFPS wasn't enough. Im playing around with the materials and can't figure out what would work, so i decided to leave a question here to check back on every few minutes. Im trying to make a combination with no bounce, and no sticking but i do want to make the objects not shoot around when colliding. Theres so many combinations possible to use on both player and blocks (I forgot to mention its a sandbox game) and im just really confused.

Comment
Add comment · Show 6
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 22, 2015 at 02:51 PM 0
Share

Doesn't anyone else have collision issues? how are they fixed?

avatar image Owen-Reynolds · Mar 22, 2015 at 05:19 PM 0
Share

What part are you trying to change? For example, when you set bounce to 0, are they still bouncing?

I've found that adding code to manually adjust velocity and angVel works fine; when you want to second-guess the physics system.

avatar image awplays49 · Mar 22, 2015 at 05:25 PM 0
Share

Im trying to make it not penetrate at all, and its not, but when i walk into a wall and jump while walking into a wall… I just get stuck.

avatar image awplays49 · Mar 22, 2015 at 05:26 PM 0
Share

I set my player frictions to 1, 1. I even tried separating the top face of the mesh and making it a different physics material. I made friction on the top 1, 1, the wall 0, 0, and still gets stuck. i have a fixed time step of 0.001 right now due to collision being really bad.

i also have my combine settings to multiply on everything.

So i pretty much have 2 issues: the collision and the fact that i need the blocks faces separated. I need to fix both issues.

avatar image awplays49 · Mar 24, 2015 at 01:40 AM 0
Share

@$$anonymous$$akingames this question was asked a while ago, and still unanswered.

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by EggQuiz857 · Mar 22, 2015 at 05:44 PM

What physics materials do I give it friction properties. like ice has low friction. and exc. I think what you need help with is just the colliders. Penetration is when the colliders go at high speeds and that bugs the physics. FYI mesh colliders don't collide with other mesh colliders.

Comment
Add comment · Show 2 · 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 awplays49 · Mar 22, 2015 at 05:50 PM 0
Share

im using cubes with box colliders. what do i do to fix this "sticky" situation?

avatar image awplays49 · Mar 22, 2015 at 06:04 PM 0
Share

I already put my movement script in FixedUpdate, and i use * Time.fixedDeltaTime

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

22 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 avatar image

Related Questions

Why is the material switching back after collision? 1 Answer

How do I allow an object pass through a wall/object of the same colour/material? 2 Answers

Change GameObject material/color animated spreading from hitting point 1 Answer

I am using an if statement to check if a colliding object has a certain material attached. 0 Answers

Detecting the Green in a Material's Color on Collision 1 Answer


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