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 KVinS · Aug 28, 2013 at 09:28 PM · rigidbodyterrainmeshmesh collider

What if the mesh (in mesh collider) does not match visually with the model?

What if the mesh (in mesh collider) does not match visually with the model?alt text

снимок.png (450.1 kB)
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 vagos21 · Aug 28, 2013 at 10:10 PM 0
Share

umm... what's really the question/problem here?

avatar image KVinS · Aug 28, 2013 at 10:12 PM 0
Share

How to set mesh in mesh collider to coincide with the model?

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by DESTRUKTORR · Aug 28, 2013 at 10:14 PM

I'm not really sure why you've got a picture of a cat walking upside down and a bunch of Cyrillic writing all over the screen, but I'm assuming the cat isn't supposed to be moving like that? The mesh collider will take on the shape of whatever mesh is plugged into it. You have to plug in the correct mesh for it to work properly. Also, if it is a complex mesh, and you need it to be complex, make sure you have "convex" and "smooth sphere collider" unchecked.

Beyond that, it's up to you to make sure you've got the proper mesh attached :P

To set the mesh of a mesh collider, simply select the "mesh" field in the mesh collider component in the inspector and edit it.

Go here for more information on mesh colliders.

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 KVinS · Aug 28, 2013 at 10:20 PM 0
Share

I understand that. The mesh is not connected correctly. I can not understand what is wrong. Whether the size is larger, or rotate the mesh.

avatar image DESTRUKTORR · Aug 29, 2013 at 08:12 PM 0
Share

If the rotation is off, you need to set the proper rotation in the program you made the model in, before exporting. What program did you use to make the model? Blender? 3DS $$anonymous$$ax? $$anonymous$$aya? Depending on which one you used, there will be slight differences in how you'd want to export it.

In Blender, you want to make sure that the rotation is neutral and that the y-axis is "up," rather than the default z-axis. The others I'd need to do a bit of research with to tell you, since it's been a while since I've used them.

avatar image
0

Answer by KuPAfoo · Aug 29, 2013 at 12:07 AM

If you created the mesh yourself, you will need to counter rotate and bake rotation in your 3d editor or you will have rotation skews in unity

this appears to have X[120degree] rotation. so, in your 3d modeler you would make X[-120degrees] rotation, bake rotation

Export->import

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

How do i test whether my box collider is touching the floor or not? 2 Answers

Collider for rocks. 1 Answer

blending meshes with terrain 0 Answers

Destroying Rigidbody component (Actor::updateMassFromShapes error) 1 Answer

How do I test if car is grounded to stop it from driving in mid-air? 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