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 May 23, 2014 at 06:30 AM by Fattie for the following reason:

Duplicate Question

avatar image
0
Question by Nemox · May 22, 2014 at 08:56 PM · collidermeshperformanceefficiencygeometry

How efficient are Mesh Colliders?

So I have a lot of nice level geometry for a platformer but now I have to add colliders. Most of the geometry is like something you'd see a couple generations ago, and my target platform is PC. Creating simplified collider meshes would take a really long time, and so would making lots of primitive colliders. I wonder if it would be just as well to create colliders from the level meshes.

Are mesh colliders efficient enough that entire levels could use them?

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 Fattie · May 23, 2014 at 06:29 AM 1
Share

"Creating simplified collider meshes would take a really long time" Life's tough, you have to do that. It's called "making video games". This has been asked 1000000 times. Use them for ground surfaces, that's it

avatar image Nemox · May 24, 2014 at 02:39 PM 0
Share

No need to be an ass about it. Efficiency is a thing.

2 Replies

  • Sort: 
avatar image
1
Best Answer

Answer by Anxo · May 22, 2014 at 09:03 PM

Avoid where possible. There are times, (when geo is some kind of round concave where you need to have a mesh collider but when you can go without it, it would be wise to do so.

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 Bunnybomb7670 · May 22, 2014 at 10:09 PM

Mesh Colliders are quite useful for complex geometry, I use them often when working with complex Voxel Terrain. I however noticed that they do have quite a big computation time when they are originally generated, however after that they perform pretty well. Mesh Colliders will have trouble colliding with other Mesh Colliders unless they are marked as convex ( 255 or less vertices ) so it is really upto you.

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 rutter · May 22, 2014 at 10:36 PM 0
Share

I'm curious if it's safe to mark any old mesh collider as convex. If the shape itself is actually concave, what happens? Some collision engines might produce unexpected results.

Follow this Question

Answers Answers and Comments

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

Related Questions

Mesh collider cost 1 Answer

Too many colliders? 0 Answers

Animated Mesh and Moving Colliders 1 Answer

Detecting object inside an area. 1 Answer

Problem with convex Mesh Colliders 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