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 06:23 PM · collisionphysicscollision detectionpenetration

More accurate collision detection

What do i do to make penetration NOT happen, or at least not be visual at all?

Ive tried physics materials, high framerates and changing max time allowed… I keep getting stuck on blocks when jumping :(

Comment
Add comment · Show 8
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 08:19 PM 0
Share

@$$anonymous$$mmpies also check out my older question

avatar image awplays49 · Mar 22, 2015 at 08:19 PM 0
Share

Please and thanks :)

avatar image Mmmpies · Mar 22, 2015 at 08:39 PM 0
Share

Got very limited access to the internet AT$$anonymous$$ which is why I've not been responding.

I looked at the last question but didn't really understand what was going on. Game development is really just smoke and mirrors, or if that isn't a term you know, it's how to fake the real world*.

Can you add images/YouTube vid to show what's happening.

That said I need better Internet access to really help you.

  • some physics model predict we're in a simulated universe so what is and isn't real is subjective! ;-)

avatar image awplays49 · Mar 22, 2015 at 09:00 PM 0
Share

@$$anonymous$$mmpies I can't demonstrate it… $$anonymous$$y computer is being weird and now i have to get a new computer since i can't look up how to fix it, but aside the point.

if there was 2 blocks in my sandbox game, and they are touching corners and at the same height, and i happen to look at the inner corner of the 2 blocks (where they meet) and walk into it, i just go through the blocks. also, if i jump while walking into a wall, i get stuck, or don't even jump at all.

i need to make a combination of physics materials for the player and the blocks i interact with. i tried everything in the book, NOTHING is working.

avatar image Mmmpies · Mar 22, 2015 at 09:12 PM 0
Share

Well I can't give you a good answer at the moment as Iternet access is so limited. Infact without a better idea of the problem It's real difficult to suggest solutions.

hate leaving you with nothing but really got no decent access to the Internet.

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by ReinaldoSantana · Mar 22, 2015 at 11:03 PM

You can add a collision box to your object and select the "Is trigger".

In your "player" object you need add a rigidibody and a collision box and after, write one script to him.

For example:

 void OnTriggerEnter(Collider other)
     {
         if (other.gameObject.tag == "PickUpItem")
         {
           other.gameObject.SetActive(false);
         }
     }

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 awplays49 · Mar 24, 2015 at 09:22 PM 0
Share

What does that have to do with anything?

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

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

Related Questions

Shaking physics body container while preventing penetration 1 Answer

Best collision detection method? 2 Answers

How do I "remove/disable" collision? 3 Answers

Object collisions failing with fast movement 1 Answer

Always Get Same Physics Collision Rebound Force 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