How can I change animation clip length?












1














The problem is that it's very short. The animation is walking. But the animation length is very short and I want to extend the walking.



When I select the walking animation I see it's read only:



Walking



After selecting it I can change the time but the clip it self will be still short:



Walking










share|improve this question


















  • 1




    What do you mean "it's short"?
    – Draco18s
    Nov 13 '18 at 0:14










  • @Draco18s What I wanted to do in general is that the character start sitting then stand up then start walking out of a door then stop looking around and back to the room sitting again. I have all the animations but the question is how can I build a cut scene from them. If for example the walking animation clip length is only 2-3 seconds he will not make it to the door.
    – Benzi Avrumi
    Nov 13 '18 at 0:55












  • @Draco18s Maybe I should use cinemachine for that ?
    – Benzi Avrumi
    Nov 13 '18 at 0:57






  • 1




    That sounds like an idea. Do that. Right now you have an XY problem: X, you want the character to walk to the door. Y, the walking animation is only 1 loop (if only it could be extended!). Correct solution: Use not-the-animation-tools to let the animation play more than once.
    – Draco18s
    Nov 13 '18 at 4:43
















1














The problem is that it's very short. The animation is walking. But the animation length is very short and I want to extend the walking.



When I select the walking animation I see it's read only:



Walking



After selecting it I can change the time but the clip it self will be still short:



Walking










share|improve this question


















  • 1




    What do you mean "it's short"?
    – Draco18s
    Nov 13 '18 at 0:14










  • @Draco18s What I wanted to do in general is that the character start sitting then stand up then start walking out of a door then stop looking around and back to the room sitting again. I have all the animations but the question is how can I build a cut scene from them. If for example the walking animation clip length is only 2-3 seconds he will not make it to the door.
    – Benzi Avrumi
    Nov 13 '18 at 0:55












  • @Draco18s Maybe I should use cinemachine for that ?
    – Benzi Avrumi
    Nov 13 '18 at 0:57






  • 1




    That sounds like an idea. Do that. Right now you have an XY problem: X, you want the character to walk to the door. Y, the walking animation is only 1 loop (if only it could be extended!). Correct solution: Use not-the-animation-tools to let the animation play more than once.
    – Draco18s
    Nov 13 '18 at 4:43














1












1








1







The problem is that it's very short. The animation is walking. But the animation length is very short and I want to extend the walking.



When I select the walking animation I see it's read only:



Walking



After selecting it I can change the time but the clip it self will be still short:



Walking










share|improve this question













The problem is that it's very short. The animation is walking. But the animation length is very short and I want to extend the walking.



When I select the walking animation I see it's read only:



Walking



After selecting it I can change the time but the clip it self will be still short:



Walking







unity3d






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 12 '18 at 22:31









Benzi Avrumi

39110




39110








  • 1




    What do you mean "it's short"?
    – Draco18s
    Nov 13 '18 at 0:14










  • @Draco18s What I wanted to do in general is that the character start sitting then stand up then start walking out of a door then stop looking around and back to the room sitting again. I have all the animations but the question is how can I build a cut scene from them. If for example the walking animation clip length is only 2-3 seconds he will not make it to the door.
    – Benzi Avrumi
    Nov 13 '18 at 0:55












  • @Draco18s Maybe I should use cinemachine for that ?
    – Benzi Avrumi
    Nov 13 '18 at 0:57






  • 1




    That sounds like an idea. Do that. Right now you have an XY problem: X, you want the character to walk to the door. Y, the walking animation is only 1 loop (if only it could be extended!). Correct solution: Use not-the-animation-tools to let the animation play more than once.
    – Draco18s
    Nov 13 '18 at 4:43














  • 1




    What do you mean "it's short"?
    – Draco18s
    Nov 13 '18 at 0:14










  • @Draco18s What I wanted to do in general is that the character start sitting then stand up then start walking out of a door then stop looking around and back to the room sitting again. I have all the animations but the question is how can I build a cut scene from them. If for example the walking animation clip length is only 2-3 seconds he will not make it to the door.
    – Benzi Avrumi
    Nov 13 '18 at 0:55












  • @Draco18s Maybe I should use cinemachine for that ?
    – Benzi Avrumi
    Nov 13 '18 at 0:57






  • 1




    That sounds like an idea. Do that. Right now you have an XY problem: X, you want the character to walk to the door. Y, the walking animation is only 1 loop (if only it could be extended!). Correct solution: Use not-the-animation-tools to let the animation play more than once.
    – Draco18s
    Nov 13 '18 at 4:43








1




1




What do you mean "it's short"?
– Draco18s
Nov 13 '18 at 0:14




What do you mean "it's short"?
– Draco18s
Nov 13 '18 at 0:14












@Draco18s What I wanted to do in general is that the character start sitting then stand up then start walking out of a door then stop looking around and back to the room sitting again. I have all the animations but the question is how can I build a cut scene from them. If for example the walking animation clip length is only 2-3 seconds he will not make it to the door.
– Benzi Avrumi
Nov 13 '18 at 0:55






@Draco18s What I wanted to do in general is that the character start sitting then stand up then start walking out of a door then stop looking around and back to the room sitting again. I have all the animations but the question is how can I build a cut scene from them. If for example the walking animation clip length is only 2-3 seconds he will not make it to the door.
– Benzi Avrumi
Nov 13 '18 at 0:55














@Draco18s Maybe I should use cinemachine for that ?
– Benzi Avrumi
Nov 13 '18 at 0:57




@Draco18s Maybe I should use cinemachine for that ?
– Benzi Avrumi
Nov 13 '18 at 0:57




1




1




That sounds like an idea. Do that. Right now you have an XY problem: X, you want the character to walk to the door. Y, the walking animation is only 1 loop (if only it could be extended!). Correct solution: Use not-the-animation-tools to let the animation play more than once.
– Draco18s
Nov 13 '18 at 4:43




That sounds like an idea. Do that. Right now you have an XY problem: X, you want the character to walk to the door. Y, the walking animation is only 1 loop (if only it could be extended!). Correct solution: Use not-the-animation-tools to let the animation play more than once.
– Draco18s
Nov 13 '18 at 4:43












2 Answers
2






active

oldest

votes


















1














To make an animation within an imported model editable, select the model, expand the inner assets, select the animation, then press Ctrl+D (probably Cmd+D on mac?) to duplicate the animation clip. Unity will create a separate copy of it in your assets, which will then be editable.



However, for this specific case, I'd recommend looping the animations (you want the character to reach the door, She simply doesn't go that far in the animation). Otherwise, if you really just want to make the clip "longer", you can adjust the playback speed within Animator. After you add in a clip, select its node and you'll see an adjustable speed in the inspector.






share|improve this answer





























    2














    Copy all keyframes, make a new animation clip, drag it out in time...





    HOW TO:



    You can select every single keyframe by dragging a marquee selection around all those keyframes and copying them.



    Then create a new Animation Clip with the "Create New Clip..." choice in that dropdown where it's showing your current clip to be read only.



    In the new clip, make sure the timeline is at 0, and past all your keyframes.



    Now select all those keyframes again, with the marquee selection again, and grab the handle at the end, it should be a dark blue vertical stripe going from the top of the time line to the bottom. And drag this to the right, as far as you need. This should do an equal time scaling for all keyframes.






    share|improve this answer





















    • There is a bit of a problem with this approach with keyframes of ease types... they don't necessarily do a good job of keeping their shape. Goto the curve editor to see this problem... which can take an enormous amount of re-rigging to fix.
      – Confused
      Nov 12 '18 at 23:39











    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53271043%2fhow-can-i-change-animation-clip-length%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    To make an animation within an imported model editable, select the model, expand the inner assets, select the animation, then press Ctrl+D (probably Cmd+D on mac?) to duplicate the animation clip. Unity will create a separate copy of it in your assets, which will then be editable.



    However, for this specific case, I'd recommend looping the animations (you want the character to reach the door, She simply doesn't go that far in the animation). Otherwise, if you really just want to make the clip "longer", you can adjust the playback speed within Animator. After you add in a clip, select its node and you'll see an adjustable speed in the inspector.






    share|improve this answer


























      1














      To make an animation within an imported model editable, select the model, expand the inner assets, select the animation, then press Ctrl+D (probably Cmd+D on mac?) to duplicate the animation clip. Unity will create a separate copy of it in your assets, which will then be editable.



      However, for this specific case, I'd recommend looping the animations (you want the character to reach the door, She simply doesn't go that far in the animation). Otherwise, if you really just want to make the clip "longer", you can adjust the playback speed within Animator. After you add in a clip, select its node and you'll see an adjustable speed in the inspector.






      share|improve this answer
























        1












        1








        1






        To make an animation within an imported model editable, select the model, expand the inner assets, select the animation, then press Ctrl+D (probably Cmd+D on mac?) to duplicate the animation clip. Unity will create a separate copy of it in your assets, which will then be editable.



        However, for this specific case, I'd recommend looping the animations (you want the character to reach the door, She simply doesn't go that far in the animation). Otherwise, if you really just want to make the clip "longer", you can adjust the playback speed within Animator. After you add in a clip, select its node and you'll see an adjustable speed in the inspector.






        share|improve this answer












        To make an animation within an imported model editable, select the model, expand the inner assets, select the animation, then press Ctrl+D (probably Cmd+D on mac?) to duplicate the animation clip. Unity will create a separate copy of it in your assets, which will then be editable.



        However, for this specific case, I'd recommend looping the animations (you want the character to reach the door, She simply doesn't go that far in the animation). Otherwise, if you really just want to make the clip "longer", you can adjust the playback speed within Animator. After you add in a clip, select its node and you'll see an adjustable speed in the inspector.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 13 '18 at 3:28









        Arshia001

        700510




        700510

























            2














            Copy all keyframes, make a new animation clip, drag it out in time...





            HOW TO:



            You can select every single keyframe by dragging a marquee selection around all those keyframes and copying them.



            Then create a new Animation Clip with the "Create New Clip..." choice in that dropdown where it's showing your current clip to be read only.



            In the new clip, make sure the timeline is at 0, and past all your keyframes.



            Now select all those keyframes again, with the marquee selection again, and grab the handle at the end, it should be a dark blue vertical stripe going from the top of the time line to the bottom. And drag this to the right, as far as you need. This should do an equal time scaling for all keyframes.






            share|improve this answer





















            • There is a bit of a problem with this approach with keyframes of ease types... they don't necessarily do a good job of keeping their shape. Goto the curve editor to see this problem... which can take an enormous amount of re-rigging to fix.
              – Confused
              Nov 12 '18 at 23:39
















            2














            Copy all keyframes, make a new animation clip, drag it out in time...





            HOW TO:



            You can select every single keyframe by dragging a marquee selection around all those keyframes and copying them.



            Then create a new Animation Clip with the "Create New Clip..." choice in that dropdown where it's showing your current clip to be read only.



            In the new clip, make sure the timeline is at 0, and past all your keyframes.



            Now select all those keyframes again, with the marquee selection again, and grab the handle at the end, it should be a dark blue vertical stripe going from the top of the time line to the bottom. And drag this to the right, as far as you need. This should do an equal time scaling for all keyframes.






            share|improve this answer





















            • There is a bit of a problem with this approach with keyframes of ease types... they don't necessarily do a good job of keeping their shape. Goto the curve editor to see this problem... which can take an enormous amount of re-rigging to fix.
              – Confused
              Nov 12 '18 at 23:39














            2












            2








            2






            Copy all keyframes, make a new animation clip, drag it out in time...





            HOW TO:



            You can select every single keyframe by dragging a marquee selection around all those keyframes and copying them.



            Then create a new Animation Clip with the "Create New Clip..." choice in that dropdown where it's showing your current clip to be read only.



            In the new clip, make sure the timeline is at 0, and past all your keyframes.



            Now select all those keyframes again, with the marquee selection again, and grab the handle at the end, it should be a dark blue vertical stripe going from the top of the time line to the bottom. And drag this to the right, as far as you need. This should do an equal time scaling for all keyframes.






            share|improve this answer












            Copy all keyframes, make a new animation clip, drag it out in time...





            HOW TO:



            You can select every single keyframe by dragging a marquee selection around all those keyframes and copying them.



            Then create a new Animation Clip with the "Create New Clip..." choice in that dropdown where it's showing your current clip to be read only.



            In the new clip, make sure the timeline is at 0, and past all your keyframes.



            Now select all those keyframes again, with the marquee selection again, and grab the handle at the end, it should be a dark blue vertical stripe going from the top of the time line to the bottom. And drag this to the right, as far as you need. This should do an equal time scaling for all keyframes.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 12 '18 at 23:37









            Confused

            3,18741751




            3,18741751












            • There is a bit of a problem with this approach with keyframes of ease types... they don't necessarily do a good job of keeping their shape. Goto the curve editor to see this problem... which can take an enormous amount of re-rigging to fix.
              – Confused
              Nov 12 '18 at 23:39


















            • There is a bit of a problem with this approach with keyframes of ease types... they don't necessarily do a good job of keeping their shape. Goto the curve editor to see this problem... which can take an enormous amount of re-rigging to fix.
              – Confused
              Nov 12 '18 at 23:39
















            There is a bit of a problem with this approach with keyframes of ease types... they don't necessarily do a good job of keeping their shape. Goto the curve editor to see this problem... which can take an enormous amount of re-rigging to fix.
            – Confused
            Nov 12 '18 at 23:39




            There is a bit of a problem with this approach with keyframes of ease types... they don't necessarily do a good job of keeping their shape. Goto the curve editor to see this problem... which can take an enormous amount of re-rigging to fix.
            – Confused
            Nov 12 '18 at 23:39


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53271043%2fhow-can-i-change-animation-clip-length%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Xamarin.iOS Cant Deploy on Iphone

            Glorious Revolution

            Dulmage-Mendelsohn matrix decomposition in Python