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 diggerjohn · Jan 11, 2014 at 05:09 PM · rigidbodycollidermecanimanimaiton

character follows path but falls through floor at sit anim

I am using mecanim for this one. I have a character that has a rigid body and a capsule collider following a path. At the end of the path I turn the character in front of a chair then give him a sit animation. He sits but falls through the chair and floor collider. Not cool. Any thoughts?

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

2 Replies

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

Answer by felixpk · Jan 11, 2014 at 05:12 PM

Maybe the collider moves with the sit animation trough the floor and the chair. Try to adjust the vollider with curves. Else try to check bake into pose (y).

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 diggerjohn · Jan 13, 2014 at 02:35 PM 0
Share

Thank you. I bet the collider is the problem. I will look into it. Found this and will see if I can employ it ... http://answers.unity3d.com/questions/505437/add-curves-to-anim-files-from-mixamo-animation-sto.html

avatar image diggerjohn · Jan 13, 2014 at 04:21 PM 0
Share

Well it seems that that is not the problem. I believe that it has to do with my character following a path. When he sits he seem to be silding down towards the path, like he was continuing to follow it but now on his back.

avatar image diggerjohn · Jan 13, 2014 at 04:29 PM 0
Share

So what I have, using $$anonymous$$ecanim, a character follows a path to a chair ... a trigger sets the next state which is a turn, then the immediate next state is sit.
Everything is cool until he sits. He falls through the chair and spins on the floor a little, like break dancing, not desirable in this case. I need him to just sit in the chair then I will give him a "sit idle" state. I am changing the size of the Capsule Collider on the character using Animation Curves but that does not seem to be helping.

avatar image
0

Answer by diggerjohn · Jan 13, 2014 at 07:19 PM

Got it!!!! I had not selected "Root Transform Postition (Y)" and "Root Transform Postition (XZ)". Life is good again!!!!

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 felixpk · Jan 13, 2014 at 08:33 PM 0
Share

Yeah what I said ...

avatar image diggerjohn · Jan 17, 2014 at 01:38 PM 0
Share

I also found that the character, while sitting was slowly sliding out to the path he had just arrived from. So the final fix was disabling the follow script as soon as he arrived at the chair to turn and sit.

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

21 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

Related Questions

Animator component makes Character fall a bit 3 Answers

Object Collider problem, objects going through walls? 1 Answer

Jittery movement when colliding (sliding) against curved mesh collider 0 Answers

Rigidbodies fly through instead of colide because of too much force 2 Answers

Unparent Character Controller from rigidbody? 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