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 dookie-boy · Apr 29, 2013 at 05:10 PM · blendermesh colliderbox collider

Box collider doing weird stuff in collision with mesh collider

I have seen this a lot around this place, but no one was having the same issue as me. And it's driving me crazy.

I imported an FBX model from Blender into Unity, but every time my vehicle (box collider) "collides" with a slope (tries to go up), it does a somersault and often ends up flipped upside-down. That looks pretty cool, but I don't need it and I can't seem to fix it.

I tried subdiving the mesh, but that only reduces the probability of my box collider doing weird stuff. Sooner or later, it decides to do a somersault. This doesn't happen with Unity's terrain, but I really need to use Blender as it gives me more control. This only happens on slopes; flat ground works perfect though.

Comment
Add comment · Show 9
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 ExTheSea · Apr 29, 2013 at 05:37 PM 0
Share

I'm guessing this happens because the collider is too .... blocky. Is there a possibility for you to use capsule colliders on the front or even better use a charater controller?

avatar image dookie-boy · Apr 29, 2013 at 05:46 PM 0
Share

Now that you mention it, I used a capsule collider on the same vehicle, and it does that awesome-but-annoying somersault in place, as soon as I try to move. Just like a rocking chair, it rolls but doesn't move.

$$anonymous$$aybe the problem is in the script that controls the rigidbody?

PS: I can't use a character controller because it's a vehicle (larger than taller) and I need it to be controlled by a rigidbody.

avatar image ExTheSea · Apr 29, 2013 at 06:02 PM 0
Share

Did you make sure that the colliders attached to your vehicle don't collide with each other?

avatar image ExTheSea · Apr 29, 2013 at 06:07 PM 0
Share

Btw. If you're making a vehicle you should take a look at this demo projects if you didn't already: http://u3d.as/content/unity-technologies/car-tutorial/1qU

avatar image ExTheSea · Apr 29, 2013 at 06:21 PM 1
Share

I think just a box collider for a vehicle cause this kind of problems because when i made a test vehicle for my multiplayer-FPS and used just a Box collider it also flipped around when i hit a slope. You could either redo the colliders on your vehicle for example with capsule colliders on the front or like the Car Tutorial Demo Project....Or you could try to replace the mesh collider on the slope with primitive colliders.

Show more comments

0 Replies

· Add your reply
  • Sort: 

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

14 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

Related Questions

How to fix Unity 5 Mesh Collider Convex Problems? 1 Answer

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

problem in Archery game 1 Answer

Use blender to turn on Mesh Collider Convex 0 Answers

mesh collider won't disable when using transform on his parent 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