# AnimationUtils.subclip results in weird animation

**URL:** <https://discourse.threejs.org/t/animationutils-subclip-results-in-weird-animation/53981>\
**Category:** Questions\
**Tags:** animation, gltf\
**Created:** [July 17, 2023, 7:44am UTC](https://discourse.threejs.org/t/animationutils-subclip-results-in-weird-animation/53981 "2023-07-17T07:44:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![czadam](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/czadam/32/38218_2.png) [@czadam](https://discourse.threejs.org/u/czadam)\
**Post date:** [July 17, 2023, 7:44am UTC](https://discourse.threejs.org/t/animationutils-subclip-results-in-weird-animation/53981/1 "2023-07-17T07:44:05Z")

</div>

Hey!  
I purchased a [model](https://sketchfab.com/3d-models/pigeon-animations-6d8b37485212480bbc58dc052d711d8c) on sketchfab. All the animations are contained within a single animation clip, which I am turning into separate clips using AnimationUtils.subclip. (The exact start and end frame of the animation doesn’t mentioned, so I had to guess)  
In this example I tried to separate the walking animation, but the wings are going into a weird pose, which is not present in the original animation clip. Do you have any ideas why is it happening?

[https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/4/5/45ef666af8c2653a2ca70af5bdf9235d62d09393.mov](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/4/5/45ef666af8c2653a2ca70af5bdf9235d62d09393.mov)

---

<div class="post-metadata">

**Author:** ![PavelBoytchev](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/pavelboytchev/32/38639_2.png) [@PavelBoytchev](https://discourse.threejs.org/u/PavelBoytchev)\
**Post date:** [July 20, 2023, 1:25pm UTC](https://discourse.threejs.org/t/animationutils-subclip-results-in-weird-animation/53981/2 "2023-07-20T13:25:53Z")

</div>

Is it possible some part of the values for wings are set in the trimmed-out part of the clip? Thus when you take only the walking fragment, the wings will not be properly positioned. This might happen when the animation is additive.

---

<div class="post-metadata">

**Author:** ![czadam](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/czadam/32/38218_2.png) [@czadam](https://discourse.threejs.org/u/czadam)\
**Post date:** [July 24, 2023, 11:37am UTC](https://discourse.threejs.org/t/animationutils-subclip-results-in-weird-animation/53981/3 "2023-07-24T11:37:21Z")

</div>

Thanks @PavelBoytchev . Is there any way to work around that programatically? Or does the animation has to be modified on the model?
