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 AgeTDev · Aug 11, 2014 at 09:19 PM · animationmecanimcollidersroot motion

How to respect colliders in Animations with Root Motion ?

Hello everyone,

I have a Problem with animations and Motion, in my game there are enemies following the Player, and the have a walk Animation. I applied root Motion so the movement Comes from the Animation itself. Now, after running around some the enemies overlap somehow and I dont know how to fix this. They all have colliders and normally should not be able to overlap, is it possible to make the animations respect the colliders ?

Thank you alot , AgeT

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 AgeTDev · Aug 13, 2014 at 05:24 PM 0
Share

Noone can help ? Here are some screenshots of my Problem : Colliders not working

As you can see, the colliders are not respected. The zimbies just move through each other or as seen in the first Picture walk through a box.

What am i Doing wrong ?

problem.png (377.4 kB)
avatar image AgeTDev · Aug 23, 2014 at 09:57 PM 0
Share

Anything?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by MrSteve1 · Aug 13, 2014 at 05:31 PM

Would you would need is a script that restricted the speed of the enemy when it comes into contact with another object tagged "Enemy" for example.

I would check this video out, this dude helped me out a bunch https://www.youtube.com/watch?v=0nQnbxCiWWE∈dex=37&list=PL7AE076AFAFD3C305

Hope this helps!

Comment
Add comment · Show 3 · 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 AgeTDev · Aug 13, 2014 at 05:39 PM 0
Share

But why aren't they just colliding and pushing each other away, or in the boxes case , $$anonymous$$eep them outside the box ?

avatar image MrSteve1 · Aug 13, 2014 at 05:42 PM 0
Share

Because your script that is telling them to follow the player at all costs is essentially overriding any collision info and just placing the enemies where they need to be, thus crushing them all together.

Enemy AI is a $$anonymous$$efield.

avatar image AgeTDev · Aug 13, 2014 at 05:45 PM 0
Share

Hm yeah that is what I was thinking too, but I am not using a Script to move them, I use the Root $$anonymous$$otion provided by the $$anonymous$$ecanim Animation , and my script is only changing the Zombies direction they look at. So infact, Animations override colliders ?

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Mecanim BlendTree non-linear behaviour? 1 Answer

Mecanim Root Motion Rotation - 180 degree turn. 2 Answers

Mecanim Root Motion + Networking 2 Answers

Correct way to handle root motion with parent game object 5 Answers

Moving Character to exact position using animation. 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