Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
This question was closed Jan 22, 2018 at 04:30 PM by meat5000 for the following reason:

The question is answered

avatar image
0
Question by A-K-Games · Jul 12, 2016 at 05:32 PM · c#rigidbodycolliderdisableenable

How do I disable all rigidbodies and colliders in a scene in unity?

Hi everybody, So for my project I working something where if the user presses a button, all rigidbodies and colliders will be disabled for every object in the scene. Is there a way to do that? I can't figure it out. I searched everywhere on unity and internet. Any help would be greatly appreciated!

Comment
Add comment · Show 3
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 A-K-Games · Jul 13, 2016 at 12:59 AM -1
Share

Never$$anonymous$$d! I got it!

avatar image Hellium A-K-Games · Jul 13, 2016 at 12:14 PM 0
Share

Indicating how you have resolved your problem could help someone else....

avatar image A-K-Games · Jul 13, 2016 at 12:13 PM 0
Share

Never$$anonymous$$d guys I figured it out!

1 Reply

  • Sort: 
avatar image
0

Answer by A-K-Games · Jul 13, 2016 at 09:34 PM

This is how I resolved it: I made all the objects a child of a empty gameobject. I used getcomponentsofchildren to get them an disable or enable them. So I got the rigidbodies and did rigidbody.isKinematic true or false. That is what I did to resolve it.

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 richardgengle · Aug 18, 2020 at 03:10 PM 0
Share

smart. ive been having similar difficulty... i cant use hinges without rigidbodies, but if i use rigidbodies, then i cant use colliders... but i need colliders to keep objects from falling thru each other

whats the way to have both colliders and rigidbody?

Follow this Question

Answers Answers and Comments

6 People are following this question.

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

Related Questions

Can't remove Rigidbody from transform in script? 8 Answers

How do I disable The MouseLook script when "I" is pressed. 3 Answers

Enable and disabled parent contraint with c# 1 Answer

Disable Collider After two Second of Being Triggered and enable it again 3 Answers

Multiple Cars not working 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