Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 Peaj · Oct 11, 2017 at 01:46 PM · animationtimelineroot motion

How to loop root motion in timeline?

If you loop an animationclip with rootmotion in the timeline it just snaps back to the start position every time it loops. Is there any solution to make the rootmotion relative so the character continues walking forward instead of being reset?.

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

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by thierry_unity · Oct 12, 2017 at 02:38 PM

when you extend the clip, does it say loop or Hold? if it says loop it might be an issue, you could open a bug for us. if it says hold , make sure to enable the loop time in the animation itself. alt text


2017-10-12-10-29-35.png (112.3 kB)
Comment
Add comment · Show 5 · 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 Peaj · Oct 12, 2017 at 03:25 PM 0
Share

I tried to upload a gif but I cant get it small enough: https://drive.google.com/open?id=0B65_BPe$$anonymous$$Qx4rWUthUDlPdWVLY1E

The loop flag in the animationclip is set. It also says L1, L2,... in the timeline. Somehow the root even keeps moving while the other bone positions are reset.

avatar image thierry_unity ♦♦ Peaj · Oct 12, 2017 at 03:28 PM 0
Share

Seem like a but to me, please open a bug or expose your issue on the forum in the timeline section, we will try to see what is happening there.

avatar image Peaj thierry_unity ♦♦ · Oct 13, 2017 at 11:47 AM 0
Share

Ok thanks. I opened a bug report

Show more comments
avatar image
0

Answer by thierry_unity · Oct 11, 2017 at 02:55 PM

Hi, you can extend the walk cycle clip to make it loop. Make sure to have enabled the loop parameter in the animation. RootLooop


rootmotionloop.gif (400.0 kB)
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 Peaj · Oct 12, 2017 at 09:06 AM 0
Share

Thanks for your reply. I did just that but in my case the character snaps back to the starting point after each Loop. $$anonymous$$aybe there is a setting anywhere that I overlooked?

avatar image
0

Answer by Michael_Berna · Nov 14, 2020 at 06:04 AM

I had the same issue when using root motion in timeline. My root node position was being transformed in the animation keyframes, but when previewing the animation, the circle underneath the avatar wouldn't move with the character as compared to a working one where the circle would move with the character. What fixed it is on the animation that would reset position after each loop, I went to the animation window and used curves to key "Animator.motion T.z" (won't key with dopesheet for some reason) . Now, it loops properly and the circle travels with the character.

Comment
Add comment · 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

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

184 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 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 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 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 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 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 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 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 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

How to handle Scripted root motion with timeline animation track? 0 Answers

Animate mode does not contain definition for GetCurveBindings 2 Answers

How to animate an instantiated object in the timeline/director 2 Answers

Why does the root motion animation make the prefab move in the opposite direction? 0 Answers

Timeline and AnimationClip problem -1 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