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 /
avatar image
0
Question by Dreeka · Jul 29, 2011 at 04:30 PM · collisionphysicsrespawn

DontGoThroughThings cant handle respawn?

Hello,

I am using DontGoThroughThings, because my marble falled under the map.

It is working fine untill the player respawns. Then then marble goes crazed, and spawns under the map a little, but just enought to fall to the ocean. This triggers another respawn, and it goes like this forever. I have tried to deactivate the script before the respawn, and reactivate it after the player is spawned, but I still have the problem.

Any suggestions?

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 Eric5h5 · Jul 29, 2011 at 04:50 PM 1
Share

You should use continuous collision detection ins$$anonymous$$d, like I mentioned before. DontGoThroughThings is a hack that only existed because continuous collision wasn't added until Unity 3.

avatar image Dreeka · Jul 29, 2011 at 05:13 PM 0
Share

"Continuous collision detection is supported for Box-, Sphere- and CapsuleColliders."

Source: http://unity3d.com/support/documentation/$$anonymous$$anual/Physics.html

avatar image SisterKy · Jul 29, 2011 at 05:15 PM 0
Share

Oh! Is DontGoThroughThings no longer useful as of Unity3.0? (I'm asking because I put it in the 'FABQ-Linklist', I'd remove it if it's 'depreciated')

'as you mentioned before' (where?) could you possibly edit the wiki-page to add this information?

(sorry to ask a question in a comment...) Greetz, $$anonymous$$y.

avatar image Meltdown · Jul 29, 2011 at 05:30 PM 0
Share

I've still found numerous cases in Unity 3 where DontGoThroughThings has helped with high speed collisions. It is still very useful in my opinion and should not be 'deprecated' at all.

avatar image SisterKy · Jul 29, 2011 at 06:50 PM 0
Share

@$$anonymous$$eltdown: Ok, thanks.

Show more comments

2 Replies

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

Answer by Dreeka · Jul 29, 2011 at 06:40 PM

I have managed to fix it by doing the following: I have added a new trigger event right before the respawn collider. It has deactivated the script, then the marble has been respawned. Then, after 1.5 seconds, I have reactivated the script. This way, it looks like it is working.

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

Answer by TheDarkVoid · Jul 29, 2011 at 05:12 PM

hav the respawn position set above the map so that gravity pulls it down to the map.

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 Dreeka · Jul 29, 2011 at 05:20 PM 0
Share

Tried it, but the marble is still spawning under the map.

avatar image Dreeka · Jul 29, 2011 at 05:28 PM 0
Share

I have noticed one thing. This problem only occures if the marble hits something with the sides while falling.

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

6 People are following this question.

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

Related Questions

If trigger hit, spawn it 1 Answer

Imported 3D models collisions 1 Answer

FPS Tutorial: Why do my grenades go through the walls? 3 Answers

How to use Physics.IgnoreCollision for multiple objects / toggling collisions for multiple, specific objects? 0 Answers

Having more than one collider in a GameObject? 8 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