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 Doneyes · Mar 29, 2013 at 03:07 PM · colliderforceissueplane

With enough force, box collider goes through planes.

I made a grenade that rolls too much, so I decided to use a box collider. if an edge of the box hits the ground, it goes right through. And ideas?

Comment
Add comment · Show 4
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 Azial · Mar 29, 2013 at 03:33 PM 0
Share

Would it help if you use your original collider and increase the (angular-) drag of the rigidbody-component?

avatar image Doneyes · Mar 29, 2013 at 04:19 PM 0
Share

No, I don't notice a change in the rolling.

avatar image Elric · Mar 29, 2013 at 04:43 PM 0
Share

Is ground mesh closed? I had same issue when used mesh with holes, as I understand it gives no volume to collider. Also try checking "convex" in mesh collider, if not. If it doesn't helps - replace mesh collider with box collider. Try changing "Collision detection" parameter of rigidbody if grenade moves to fast.

avatar image whydoidoit · Mar 29, 2013 at 05:29 PM 0
Share

Try to avoid mesh colliders, primitives work better - reinforce as @almostsync says below. $$anonymous$$ake sure that you have dynamic collision if the movement is fast, interpolate or extrapolate too.

5 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by almostsync · Mar 29, 2013 at 05:27 PM

If the wall is thin enough, and the force strong enough, it will pass through.

possible solutions:

  1. reinforce the wall, add an invisible cube collider behind it

  2. if that's not enough, decrease the fixed timestep, but be carefull not to over do it )

  3. if all else fails, handle the "exception" manually in a FixedUpdate()

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 sdgd · Mar 29, 2013 at 05:36 PM 0
Share

what about raycasting? could it help?

well don't know never done this stuff

avatar image
0

Answer by KoningStoma · Mar 29, 2013 at 04:36 PM

Planes are buggy like that.

If you give it a box collider, it should work better.

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
0

Answer by MountDoomTeam · Mar 29, 2013 at 06:06 PM

maybe when an object is close to another object you can switch it into continuous detect mode http://docs.unity3d.com/Documentation/ScriptReference/Rigidbody-collisionDetectionMode.html

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
0

Answer by psycocrusher · Mar 30, 2013 at 12:16 AM

Try moving the grenade on a FixedUpdate.

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
0

Answer by TheDarkVoid · Mar 30, 2013 at 12:26 AM

The reason it is moving through the planes and can move though other collider if because one frame the grenade is on one side of the collider and by the next frame it is already on the otherside, a simple fix is to change the collision detection mode to continuous. You can also mess with the physics calculation settings in project settings.

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

19 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

Related Questions

Set a boolean to true once the wheel collides with two planes? 1 Answer

count how much force is applied 0 Answers

Collision Issue 0 Answers

raycast hit to relative location on collider? 1 Answer

Applying colliders on Bike. 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