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 MojopinStudios · Apr 16, 2013 at 01:19 PM · physicsignorecollisioninteractive-cloth

How to stop an Interactive Cloth colliding with box collider

I've implemented a netting for a goal which I have eventually got working in a way which I am happy with. However to get the correct reaction I have set the Thickness to 0.55. The problem that this brings is that the net (cloth) collides with the ground, a box collider, and because of the thickness it lies above the ground.

If I could get the net (cloth) to ignore the collision with the ground it would work. But I have tried using Physics.IgnoreCollision but cannot find the collider for the Interactive Cloth. Is there a way to get Physics.IgnoreCollision to work? Or any other way I can stop the Interactive Cloth colliding with the box collider?

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 Chris12345 · Apr 16, 2013 at 01:52 PM 0
Share

1.put the box collider and the cloth on 2 different layers 2.Go to edit>Project settings>Physics and select the layers you want physics to ignore no code needed.

avatar image MojopinStudios · Apr 17, 2013 at 12:41 PM 0
Share

Cheers, I'll try that when I get back around to adding the cloth again. A computer restart lost me a week of work. :/

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by doogli · Mar 21, 2014 at 04:33 PM

Hi, I'm having a tough time getting my soccer goal netting to work. I have ready everything I can find about cloth collisions and I'm having no joy. My football just goes straight through the cloth. I can't get OnCollisionEnter or OnTriggerEnter to fire for the cloth. The only interaction I can get is using Collision Response, but then the ball sticks to the net and jumps around like a fly in a spider web. I suspect this may be be because the ball in made of Bouncy physic material and there is some feedback happeneing with the ball responding to the net and the net responding again... etc. I'd love to know how you achieved a working cloth net! I have also tried a planar mesh collider, and this worked quite weell, except that the net got all out of shape and wouldn't hang like it should under gravity...

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

13 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

Related Questions

Physics.IgnoreCollision not working 0 Answers

Having trouble with Physics.IgnoreCollision(). 1 Answer

IngoreCollision() does not work 0 Answers

IgnoreCollision affecting children & unrelated objects when it should'nt ? 0 Answers

Can Particle System ignore a given collider? 3 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