• 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 slgooding · Jul 02, 2014 at 01:27 PM · animationtimekeyframerewind

Animation Keyframes Not Triggering?

Hopefully I can explain this clearly... I have a character with animation keyframes. I have a horizontal slider attached to the time of the animation. This means that I can drag the horizontal slider forwards/backwards (from 0 to the length of the animation) and see the animation play (when I set the timeScale = 0).

Here is the problem...I have a button that will go to a specific time of the animation when clicked. This works fine when the time of the is AFTER the current frame. HOWEVER, if the animation time is set to time BEFORE the current time of the animation it appears that all the animation keyframes are NOT triggered. Some seem to be missed... I can scrub the slider back to the beginning and then forward and it will play the animation properly.

I have tried setting the horizontal slider to 0, and then moving to the value that I want, but that doesn't seem to help. It seems that it is processing it differently when I manually change the time sequentially, but any large jumps back in time seem to break it.

Is there a way that I can ensure that all the keyframes are triggered?

I'm hoping that I'm just missing something simple here...

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

0 Replies

· Add your reply
  • Sort: 

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

22 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

Related Questions

Animation Window: How to scale keyframes to increase time? 9 Answers

Move a keyframe in time only 1 Answer

timer that can be reset 1 Answer

Keyframed blend shapes from Maya importing into Unity as separate objects 2 Answers

Can I get an animation to Auto Key values set in custom inspector? 0 Answers

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