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
1
Question by the.wolf · Jul 14, 2013 at 12:14 PM · meshblenderlevelmesh collider

Mesh Collider with multiple meshes?

Hey guys. I've created a 3D model in blender, which should be the level in my scene. Now I try to add colliders so my first person controller can walk on it. For this I used a Mesh Collider which works fine but the mesh of the model was divided into 4 parts automatically so I can only choose one of those for the Mesh Collider and this is logically not the whole model. Is there any way to apply a Mesh Collider on the whole level in this case?

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

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by scarletshark · Jul 16, 2013 at 05:54 PM

Use the "Generate Colliders" function in the model import options in Unity. This will make mesh colliders for you. Do this by clicking the model in the project folder, and clicking "Generate Colliders."

Alternatively, if you want the collider to be slightly different than the model you imported, you should make a separate "collider" mesh which is comprised of all of the models. Do this by combining all of the meshes in Blender. Select them all and press Ctl+J, then export them as "[modelname]_collder" and assign it to the mesh collider component of your model.

Also, just FYI: unless you have a reason to have separate models, it is optimum if all models containing the same shader are combined. This reduces draw calls.

Comment
Add comment · Show 2 · 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 faiyu · Oct 22, 2013 at 10:40 PM 0
Share

Thanks a lot scarletshark !

avatar image mutantbob · May 27, 2016 at 08:05 PM 0
Share

I'm having difficulty finding the "Generate Colliders" option. Right-clicking on the .fbx in my project window (it is in the Prefabs directory) gives me a menu that starts with

 Create
 Show in Explorer
 Open
 Delete
 ...


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

How do I use a mesh collider With .blend? 3 Answers

Convex mesh collider thinks model is non manifold but it isn't 1 Answer

Missing meshes when importing fbx from Blender 5 Answers

Level Creation, Prefabs and Colliders 2 Answers

Box mesh exhibiting odd collision with 1st person controller - how to fix? 2 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