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 KNDL · Nov 25, 2014 at 01:10 PM · idlemovementsmoving-animationscharacter-movement

Animations workflow with Idle

Hi,

I'm facing an issue with handeling the flow of my character.

A short brief:

I have a character which has different handstates - up, down etc... the character also moves left and right on the XZ Axis.

I have an Idle animation that locating the charcter hands at the middle. The flow is that the user press a button, the charcter hands go up and after 1 seconds it's going back to the idle and set the hands at the middle. So far so good...

Things come bit messy when I add the movements animation - swipes move the character right and left and that's happening as expected, I also want the charcter to go back to Idle (Hands in the middle) at the end of the movement, but instead of controlling only the hands state its also bringing back my character to the center where's the idle animation starts.

To make it clearer - I would like my charcter to have an Idle animation that not controlling it's position, and if a movement has occurred, than stay where's the animation ends.

If any screenshots are needed for this issue, let me know and I'll edit my question.

Edit 1: I'm using animator controller and script aswell, here's the anim controller ss: alt text

Movements state machine: alt text

animcont.png (38.7 kB)
animcont2.png (49.1 kB)
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 KNDL · Nov 25, 2014 at 02:46 PM 0
Share

1 Blend tree that will include about 6 animation and the Idle itself in it?

avatar image KNDL · Nov 27, 2014 at 08:13 PM 0
Share

@Jeff $$anonymous$$esselman I've read the blend tree documentation but couldn't figute out how am I supposed to implement it for my case, could you please provide more details about using blend tree?

avatar image KNDL · Nov 27, 2014 at 08:22 PM 0
Share

@tanoshimi Hi, I'm trying to avoid my character going back to the idle position after a left/right movement, is the avatar mask will help me in that issue?

avatar image f4bo · Nov 27, 2014 at 08:32 PM 0
Share

is you character animation managed all by script or also by animation controller?

avatar image f4bo · Nov 27, 2014 at 09:01 PM 1
Share

it is a matter of your game logic then - we can't help you blindly though so either you share your code somehow or you have to sort it out by yourself

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by tanoshimi · Nov 27, 2014 at 08:16 PM

Sounds to me like you want an avatar mask to ensure that your "hands" animations affect the arms - nothing to do with the root transform of the character: http://docs.unity3d.com/Manual/class-AvatarBodyMask.html

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 KNDL · Dec 03, 2014 at 09:22 AM 0
Share

@tanoshimi thanks for your suggested answer, the issue solved by setting the animation rig to humanoid at all animations.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

how to move my camera... 2 Answers

Make a 90 degree turn while running 0 Answers

Idle animation not working 0 Answers

How can you detect when a Gameobject has stopped moving? 3 Answers

Handling Enemy Movement Within Camera View 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