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
-1
Question by JackJones · Jul 01, 2010 at 12:48 AM · collidertornado-twinswormonoff

Turn colliders off in script

i have my worm game made from tornado twins tutorial however when i hold back arrow my worm is colliding with all the other pieces of my worm causing it to go up in the air so how would i go about

if(Input.GetButtonDown("s")) get rid of the collider

unless you have a better suggestion on how to get rid of this glitch

please help thanx ;)

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by AnaRhisT · Jul 01, 2010 at 12:55 AM

First Solution:(physics are gone)

 if(Input.GetButtonDown("s")) isTrigger = true;

Second Solution:(Ignoring physics with OTHER colliders)

Physics.IgnoreCollision(AnotherObject.collider, collider);
Comment
Add comment · Show 3 · 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 Daniel 8 · Jul 01, 2010 at 12:57 AM 0
Share

$$anonymous$$y way is easier?

avatar image AnaRhisT · Jul 01, 2010 at 01:01 AM 0
Share

Assu$$anonymous$$g he wants Ignore my way is better. About the physics that are gone like u suggested i don't know, isTrigger or ur suggestion should be fine, idk about urs, but $$anonymous$$es works like a charm ;)

avatar image Daniel 8 · Jul 01, 2010 at 01:02 AM 0
Share

I did the tornado twins tutorial, i no wat im talking about, you dont need another script its easy

avatar image
-2

Answer by Daniel 8 · Jul 01, 2010 at 12:54 AM

Dude i had the same problem, just make your the back pieces are off the ground, arnt touching or turn them of in the editor? Its pretty straight forward

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

No one has followed this question yet.

Related Questions

how to create Objectives 1 Answer

GAMEOVER SCRIPT for worm game 2 Answers

shooting and seeing through walls. 1 Answer

Having Trouble With "Worm" T_T Tutorial 2 Answers

Why does my character keep falling? 6 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