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 AppTechStudios · Jan 20, 2011 at 03:36 AM · animationcollisioncollidermeshblender

Collision for Animating Meshes

Basically, I cannot figure how to get collision to work on animating models. The only scenario that I know how to make colliders work would be to have a bunch of separate meshes and exactly one bone per mesh. Unfortunately, I usually have more bones than meshes.

For example, I have a plane mesh that is split (knifed) 14 times and that has 15 bones on it. Each bone rotates on its x axis, resulting in a wiggling/earthquakish animation. Now, when I import the model (from Blender) into Unity and put a mesh collider on the plane, the physics do not animate with the animation. If I put mesh colliders on the bones, they make a bunch of separate planes (that animate on their x axis) that are not all attached at the edges, resulting a many gaps while the animation is playing.

So, how is one supposed apply colliders to an animation? I am new to Blender, let alone animation, so I may be handling this all wrong.

Thanks!

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 3DMagicVR · Jan 20, 2011 at 04:59 AM

Hi, the method I know it's this:

You can use rigid bodies on every object to detect collision because the collision system it's defined this way, (Box, Sphere or Capsule) collide with Mesh collider or Rigid Bodies but not with another same collider, and the same for the Mesh collider, but the Rigid Body can collide with another same collider, the Character Controller collide with all the others, now if You use the Rigid Body make sure You check the Is Kinematic option (Active) this way you can move your objects separately and make every one can collide with other objects, keep in mind that the object with that is all ways collision with the Character Controller so if You want to make an air plane to have been impact on every part of it you have to set an script option to ignore the Character Controller, search in the manual for this option "collisionDetectionMode" to enabled or disabled the collision or use a conditional state to make it some function.

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 AppTechStudios · Jan 20, 2011 at 08:04 PM 0
Share

I appreciate the response! I am not sure if I fully understand what you mean.

Where should I put the mesh collider and rigidbody? Frankly, I do not really need the rigidbody, because the only thing that I need to collide with the object has a rigidbody itself. Am I wrong?

When no animations are playing, I can make my colliders work beautiful (have the colliders on the mesh), but when I start an animation, the colliders on the mesh do not move even though the mesh moves. I hope I am explaining myself better!

Thank you!

avatar image AppTechStudios · Feb 19, 2011 at 09:59 PM 0
Share

I have concluded that it is impossible to have mesh colliders on a model that is animating (and have the colliders animate too). You just have to put colliders on the bones that make up the armature of the animation.

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

No one has followed this question yet.

Related Questions

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

Giant colliders restricted to a set size? 0 Answers

Glitchy Convex Mesh Collider 1 Answer

Crawling around the terrain 3 Answers

Problem with collision detection in an animated object 1 Answer


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