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 mirrorfish · May 09, 2014 at 04:30 PM · collisiondetectioncollision-detectioncollision-error

Why Does My Collision Detection Become Inconsistent?

I have a scene where I am creating level geometry by bumping a bunch of colliders into each other to create rock formations. It's probably weird and inefficient but I like it. The issue is that at a certain point it seems that the collision detection stops happening and the rocks begin to clip through each other. It's visible when this happens because the formations change, as you can see in the attached screenshot. The formation is created over time at runtime by following a wandering object and spawning bricks. The bricks collide and land in interesting craggy shapes. In the image attached you can see that at a point a transition occurs where the formation changes and smooths out because the bricks are clipping through each other and not being re-positioned by the collision physics.

alt text

This also seems to coincide with the bullet collision physics becoming inconsistent. I am not seeing a big performance hit at this point, everything continues to run at a good frame rate, up to 77 FPS. I notice that after this level geometry problem begins to occur I have situations where I shoot at my enemies and bullets pass through them 9/10 times although hitting occasionally. It's very weird and confusing. Has anyone seen issues like this where collision initially works and then starts breaking?

To add some additional context:

Upon further testing I've realized that the collision is breaking very inconsistently. For example once it begins breaking I can fly against a rock in scene and sporadically pass through it or not. This seems to happen after I spawn the third or fourth wave of enemies. Is it possible that instantiating a bunch of new game objects at once is causing this to break?

For those who are interested there is a webplayer here which: http://www.mirrorfishmedia.com/v1/pollen/pollen_v033/pollen_v033.html

Thanks for taking the time to check this out, if anything is unclear I can elaborate.

best, M.

screen shot 2014-05-09 at 12.28.23 pm.png (169.3 kB)
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

0 Replies

· Add your reply
  • Sort: 

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

20 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

Related Questions

Collider colliding with itself 1 Answer

OnCollisionEnter not working for bullet 2 Answers

collision detection not working? 1 Answer

Edge Collision Issue 1 Answer

onCollisionEnter issue. Very simple script. 0 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