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
2
Question by Kylotan · Jan 20, 2012 at 08:45 PM · animationlocomotionlocomotion system

How do the Locomotion System 'motion groups' work?

The Locomotion System has the concept of 'motion groups' - but I can't work out how to use them effectively.

  • The example in the docs tells you to create a single group called "locomotion" and it's not clear why this name was chosen, rather than leaving it at the default of MotionGroup1. Is there something in the demo scripts that uses this hard-coded name?

  • If I create 2 motion groups and hit Initialise, the system seems to use one of the two groups. How do I know which one it's going to use, and can this be changed at design time in the inspector?

Comment
Add comment · Show 1
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 Pilot · Feb 08, 2012 at 11:22 AM 0
Share

I would also like to know the answer to this...

1 Reply

· Add your reply
  • Sort: 
avatar image
2

Answer by Kylotan · Feb 16, 2012 at 06:39 PM

It appears that the Locomotion system creates a new animation for each motion group at runtime. Then presumably the Locomotion system uses one of the new animations to handle all the different variations of walking speed and direction within that group. So each motion group is basically an animation you can play to use the anims within the group and have the locomotion done for you.

But if you use 1 animation for more than 1 motion group (for example, you might have a 'Normal' Motion Group with Normal_Idle and Normal_Walk, and an 'Angry' motion group with Normal_Idle and Angry_Walk), the system stops working properly, and I can't see why this would be so.

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 runevision ♦♦ · Feb 21, 2012 at 10:49 AM 0
Share

Try to make a duplicate of the animation you need twice so the same clip isn't used in more than one motion group. That should work.

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

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Adding different animations to the Unity Locomotion System 0 Answers

Create Player From Values [ Photon ] 0 Answers

More realistically interaction with soccer ball 0 Answers

Adding falling and landing animations to the Locomotion System 1 Answer

Can I make animations snap to a frame? 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