Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 PhotonPotatoDev · Dec 20, 2020 at 07:19 AM · meshcolliderconvex

Mesh Collider doesn't follow the mesh's triangles

Hello my name is Ty, I'm currently trying to make a procedurally generated landscape that you can use a FPS player to move around in. I have recently run into a problem though: the mesh collider doesn't correctly fit around all of my mesh's vertices and triangles. I have now spent a few days searching through endless forums and I have found nothing. I did find a youtube video on how to fix it (Link: https://www.youtube.com/watch?v=Q88f4u9mKqQ) but this videos solution didn't work for me.

I am currently using a character controller for my player if that changes any of your answers and here is a photo of the scene where you can clearly tell that the mesh collider isn't working properly (as you can tell I have tried adding a rigidbody and tried turning it on and off but nothing works): https://drive.google.com/file/d/1zgI_YPa04yEyi2qfWkZwORSof4SbJItJ/view?usp=sharing and here is another image of it: https://drive.google.com/file/d/1MqR_OMngfaX8BXhqY8nMGTR5HIvL08TC/view?usp=sharing.

For the mesh AND fps script I made adaptations of some brakeys tutorials. And I've tested both of these features individually and they work, it is just when I try to attach a mesh collider to my mesh that it starts to get funky.

Here is also a link to a shared drive with all of my photos and code: https://drive.google.com/drive/folders/1vdu752PkUmRtfNWgxRKJF9F-kl736ADK?usp=sharing

Please help me!,

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
Best Answer

Answer by Llama_w_2Ls · Dec 20, 2020 at 08:40 AM

Turn off IsConvex on the mesh collider. @PhotonPotatoDev

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 PhotonPotatoDev · Apr 23, 2021 at 08:20 AM 0
Share

Sorry, I have been busy with high school and took a bit of a break from program$$anonymous$$g. Thank you so much for solving the problem though!

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

111 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 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 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 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 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

Problem with mesh collider 2 Answers

Non Convex Mesh Colliders even though there aren't any 1 Answer

Couldn't create a Convex Mesh from source mesh "car_1_body" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh. 0 Answers

Create hollow sphere with objects bouncing around inside 2 Answers

Convex NonTrigger Mesh Collider + Rigidbody = weird transform position 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