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 outsorts · Oct 22, 2013 at 02:22 PM · collisionimport

2 imported objects not detecting collision

ok, i really got bored of this issue. 2 imported objects bypassing each other and not detecting collisions with each other. i have added all possible physics to detect collision like box collider and mesh collider and rigid body and others, but it's no use.... it would be very annoying to create my own custom collider for each 2 imported objects by making calculations by the x,y,z parameters. i have no problems with an imported object and a build in unity object like a sphere for example, but i have problems with 2 imported objects. if this question has been asked here before and has a perfect answer, please link me to the answer but i have searched and didn't find something useful.

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 sethuraj · Oct 22, 2013 at 02:43 PM 0
Share

If you are using mesh collider for the imported mesh,enable 'Convex' (Don't use convex for planar mesh)and make sure one of them is having rigidbody.

avatar image outsorts · Oct 22, 2013 at 03:04 PM 0
Share

both of them have rigid bodies and both of them have convex ticked in mesh collider, but still no collision detection and they bypass each other, and non of the objects is a plane.

avatar image sethuraj · Oct 22, 2013 at 03:10 PM 0
Share

Use unity's inbuilt 'box' as floor and check whether each of those is getting blocked by floor.If its still not working it might be a scaling problem of your mesh.

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Ankur99117 · Oct 22, 2013 at 04:19 PM

is your 'is kinematic' checked? if yes, then uncheck 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 Owen-Reynolds · Oct 22, 2013 at 05:00 PM 0
Share

is$$anonymous$$inematic freezes the object -- doesn't effect collision. The OP's object are moving just fine.

avatar image
0

Answer by Owen-Reynolds · Oct 22, 2013 at 05:04 PM

Ummm...maybe (from the MeshCollider docs):

"Convex Mesh Colliders must be fewer than 255 triangles."

Not as bad as it seems, since speed considerations already make you want to reduce the Collider polycount. Blender has a "Decimate" function which will combine lots of polys. I imagine Max/Maya has something similar.

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 Will Davis · Oct 22, 2013 at 05:10 PM

hmmm http://docs.unity3d.com/Documentation/Components/LayerBasedCollision.html maybe?

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

18 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

Related Questions

Colliding with mesh works on top, but not sides 2 Answers

Not detecting collision on imported (DAE) objects? 1 Answer

Is it possible to import collision primitives with an object? 1 Answer

Collider problems 3 Answers

Problem with Object collision 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