• 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
1
Question by slayer29179 · May 06, 2012 at 06:01 PM · animationtimelinedeleteend

Animation Window: Delete part of the timeline

Hey all, I created an Animation in the animation window (part of Unity) and the whole animation is 5.0 seconds long. It works perfect except The rotation goes on till 9.0 seconds. Which makes it not loop properly, Its like there is a key frame at the end and its waiting for it but when it reaches 9 it loops again. How do I get rid of these extra seconds? There is no key-frame, there is no key-frame it just ends... I have tried adding a key-frame at the end then deleting it but noting it just stays there please help, I really don't want to have to have to start the whole animation again. thank you!

Comment
Add comment · Show 2
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 tenfour · May 07, 2012 at 10:23 PM 0
Share

I have the exact same issue. I have no key frames beyond a certain point, but the animation length goes past the last keyframe. As a result, I can't rely on the animation.GetClip.length parameter in code.

avatar image slayer29179 · May 08, 2012 at 05:16 AM 0
Share

yup :/ when I try to loop animations they have a long pause in them there must be a way to remove it

6 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by RichMakeGame · May 08, 2012 at 02:37 PM

someone posted a workaround in this thread: http://forum.unity3d.com/threads/131340-Reduce-animationclip-length

I'm an artist though

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 slayer29179 · May 08, 2012 at 06:28 PM 0
Share

ahh thank you! :) turns out its just a bug

avatar image
1

Answer by fafase · May 06, 2012 at 06:06 PM

You should be able to delete it. Right click on the key and delete key. Or then drag it real close to the last one they will automatically fusion into one.. But deleting should work. Works for me.

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 slayer29179 · May 06, 2012 at 06:11 PM 0
Share

thanks for replying but no luck, the yellow line for the Rotation.y just stays on 9.0, if I drag the red cursor after the 9 it will extend the yellow line but if I drag it back it just stays there

avatar image
1

Answer by RichMakeGame · May 08, 2012 at 02:37 PM

someone posted a workaround here: http://forum.unity3d.com/threads/131340-Reduce-animationclip-length

I'm just an artist and I don't know how to use the fix though. If anyone gets it working please post instructions, thanks!

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
avatar image
0

Answer by gordee · Mar 11, 2015 at 01:01 PM

you dont need code. go into the dope sheet and there will be keyframe markers at the end delete them and all is fixed

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
avatar image
0

Answer by gordee · Mar 11, 2015 at 02:06 PM

Go into the dope sheet and there will be keyframe markers at the end delete them and all is fixed

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
  • 1
  • 2
  • ›

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

9 People are following this question.

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

Related Questions

Check when animation ends playing 1 Answer

Can I make animations snap to a frame? 2 Answers

how to delete specific animation curve on import 0 Answers

Similar system to animation events? 0 Answers

Animating RectTransform in Timeline 1 Answer

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