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 /
This question was closed Aug 06, 2019 at 10:19 AM by Bunny83 for the following reason:

Problem is not reproducible or outdated

avatar image
5
Question by The7thNoodle · Apr 04, 2015 at 08:46 PM · collidermeshtutorialvisible

Can't see Mesh Collider in Unity5

I'm new at Unity and I'm following the tutorial that was designated for earlier versions than 5. I applied a Mesh collider to my spaceship but after disabling the mesh render I still cant see the collider wires. It isn't minimized in the inspector if that's an issue. Am I doing something wrong here or is it just something that changed with Unity5 and I have to just deal with not seeing the mesh collider?

Comment
Add comment · Show 2
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 The7thNoodle · Apr 04, 2015 at 07:30 PM 0
Share

Ok, I shoul've played with the settings more before asking this question, but I'm gonna post the answer anyway.

Apparently in Unity5 you have to enable Convex under your $$anonymous$$esh Collider component or you can't see the collider wires, I'm not sure what difference a Convex or non-convex mesh collider have, but hey there you go :P

avatar image MrMeek · Apr 12, 2015 at 01:28 AM 0
Share

The docs say, "Convex: If enabled, this $$anonymous$$esh Collider will collide with other $$anonymous$$esh Colliders. Convex $$anonymous$$esh Colliders are limited to 255 triangles."

I don't know why the mesh won't render in scene view if it is not selected, but, be aware that it does change the collider behavior.

$$anonymous$$esh Collider

2 Replies

  • Sort: 
avatar image
3

Answer by bromi · Jul 14, 2015 at 09:49 AM

There are some limitations when using the Mesh Collider. Non-convex Mesh Colliders are only supported on GameObjects without a rigidbody. If you want to use a Mesh Collider on a rigidbody, it needs to be marked as Convex.

This. The tutorial was created for unity 4, apparently it was not like this then. If you delete rigidbody, you instantly can see green lines of non-convex collider.

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 zhengwx11 · Feb 03, 2018 at 06:57 AM 1
Share

Notice: sometimes one should disable the mesh renderer and enable it again (i.e. refresh it) to see the green lines instantly.

avatar image
1

Answer by gonencturkekul · Dec 29, 2015 at 11:25 AM

@bromi removing rigidbody doesn't make non-convex collider visible. My current Unity version is 5.2.3f1. I solved visibility problem by marking collider as convex, and didn't remove rigidbody.

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 ProbePLayer · Apr 21, 2020 at 12:08 PM 0
Share

That doesn't solve visibility problem, it modified the collider completely. It might show the collider as a result of that, but hardly a good solution.

Follow this Question

Answers Answers and Comments

7 People are following this question.

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

Related Questions

How do I create a mesh collider? 2 Answers

Pushing a mesh with mesh collider 1 Answer

Scaling the Mesh Collider 4 Answers

Why am I getting a null reference exception 1 Answer

How to remove internal triangle/faces when combining mesh 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