• Unity
  • Services
  • Made with Unity
  • Learn
  • 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
  • Forums
  • Answers
  • Feedback
  • Issue Tracker
  • Blog
  • Evangelists
  • User Groups

Navigation

  • Home
  • Unity
  • Industries
  • Made with Unity
  • Learn
  • Community
    • Forums
    • Answers
    • Feedback
    • Issue Tracker
    • Blog
    • Evangelists
    • User Groups
  • Get Unity
  • Asset Store

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 Kurochi · Dec 24, 2013 at 01:15 AM · animationmecanimloophow to

Animations - Cycle Offset

I can't figure out how to properly fill the Cycle Offset value. I have an animation that doesn't normally loop perfectly, although once it ends I should be able to easily make it resume from a midway point and make it seamless, right?

There is that Cycle Offset value, which I assume is what I need.

I tried considering it as a fraction, as a percentage, as the frame to resume from, as the second to resume from, but I don't seem to notice any difference at all.

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 felixpk · Dec 24, 2013 at 12:49 PM 0
Share

alt text

You have to click on the Timeline, then you see the positions where it should loop perfectly. Just incase you did not know about this..

help1.png (43.0 kB)

2 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by zak-reynolds · Apr 15, 2014 at 09:14 PM

I had the same problem, and what I realized is that we were both misunderstanding what cycle offset does. It just changes where the animation starts within the loop, it won't set a point to loop back to (cutting out the beginning of the animation). I think the best solution when you have a looping animation with an intro is probably to create two separate animation clips out of it and have the first (non-looping) clip transition into the second (looping) clip in the animation controller.

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 TutiBueno2 · May 13, 2015 at 09:24 PM 0
Share

Even Construct 2 has this option, but not Unity.

avatar image Pacosmico · Feb 14, 2018 at 11:29 PM 0
Share

Actually, It makes little sense the way it is, supposedly it's for making it easier to sync looping animations, I mean, that's one of the reasons we have transition offset in the Mecanim ¿right? It will be more intuitive if it worked as the point to loop back to, and it will be less annoying if the animations of the games are simple.

avatar image
1

Answer by Pacosmico · Feb 14, 2018 at 11:39 PM

I resolved this using a transition into itself with the transition offset properly set, and with Exit Time = 1. Also this seems as it doesn't need to have Loop Time checked, because the loop is built in the Animator Controller itself. Annoying but works descriptive image


sin-titulo.png (151.4 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 zak-reynolds · Feb 16, 2018 at 01:17 AM 0
Share

Nice, that's a clever solution.

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



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

Abaut Mecanim animation roop 0 Answers

How to loop just a certain part of an animation? 1 Answer

Mecanim and 3Drt.com model problem 0 Answers

Mecanim, detecting states in time. 0 Answers

Problem with animation 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges