davidyannick Posted December 14, 2020 Share Posted December 14, 2020 I'd like to loop this animation to make the character run all the 240 frames, how can I loop this anim with kinefx ? Thanks kinefx_loop.hiplc Quote Link to comment Share on other sites More sharing options...
Atom Posted December 15, 2020 Share Posted December 15, 2020 (edited) You might want to try something like this but use a Timeshift node instead of Retime. Shift time so the second input to the skeletonblend will be the final pose that you want to loop upon. You can even drop down a RigPose node to tweak the final pose for best blending. Animate the skeleton blend bias at the right time to take on the final pose. Edited December 15, 2020 by Atom Quote Link to comment Share on other sites More sharing options...
davidyannick Posted December 16, 2020 Author Share Posted December 16, 2020 16 hours ago, Atom said: You might want to try something like this but use a Timeshift node instead of Retime. Shift time so the second input to the skeletonblend will be the final pose that you want to loop upon. You can even drop down a RigPose node to tweak the final pose for best blending. Animate the skeleton blend bias at the right time to take on the final pose. Thanks for your heko, gonna try Quote Link to comment Share on other sites More sharing options...
Mykolas Posted December 16, 2020 Share Posted December 16, 2020 There is a motion clip concept included in Kinefx, which is very powerful. Just plug your skeleton animation to motionclip, then use motionclip cycle and motion clip evaluate. 1 Quote Link to comment Share on other sites More sharing options...
davidyannick Posted December 16, 2020 Author Share Posted December 16, 2020 6 hours ago, Mykolas said: There is a motion clip concept included in Kinefx, which is very powerful. Just plug your skeleton animation to motionclip, then use motionclip cycle and motion clip evaluate. You're right, it works very well Thanks for your help 3 Quote Link to comment Share on other sites More sharing options...
evanrudefx Posted December 19, 2020 Share Posted December 19, 2020 Is there a way to loop animation of a run cycle so when it loops, the transform doesn't reset? I have animation from mixamo, I want my guy to run foward for like 200 frames, but the clip only lasts 34. when I loop it the guy just runs foward then resets to the origin. I guess I want a loop + offset, so it just continues looping from the last position. Quote Link to comment Share on other sites More sharing options...
evanrudefx Posted December 19, 2020 Share Posted December 19, 2020 (edited) well, I figured out a way to do it. I just used extract locomotion, then selected my hip bone and chose convert to in place and shift to origin. That way my character was stationary (running in place). It exports a new bone containing the extracted transforms called __locomotion__. If I go to the last frame of animation (35 for me ). I can track its z position. On frame 1 z position is 0, on frame 35 the position is 6 (meaning it moves 6 units every 35 frames). So I divide 6/35 which = 0.17. that means the character should run at a pace of 0.17 units per second. So I just add a transform sop and in the z translate I added $FF*0.17. That will transform it 0.17 units every frame causing it move at the appropriate rate. I hope that will help anyone. Anyway, its 4 am and I should go to bed, lol Edited December 19, 2020 by ejr32123 Quote Link to comment Share on other sites More sharing options...
Mykolas Posted January 22, 2021 Share Posted January 22, 2021 (edited) I'm sorry for a late reply, didn't see your message. You can use locomotion directly in Motion Cycle node without any additional math involved. You have to turn on Blend Start to End toggle on Cycle tab and Use Existing Locomotion on Locomotion tab. Blend Locomotion should be on as well. Edit: extractlocomotion node should be inserted before motionclip of course. Something like this Edited January 22, 2021 by Mykolas Quote Link to comment Share on other sites More sharing options...
evanrudefx Posted January 24, 2021 Share Posted January 24, 2021 oh thanks, I eventually figured that out after watching more tutorials, but thanks! 1 Quote Link to comment Share on other sites More sharing options...
Infinite Rave Posted January 17, 2022 Share Posted January 17, 2022 Hi Guys, This thread is very useful. Unfortunatelly the motionclip cycle node changed a bit in H19 and I can't make it work. Can you tell me how to setup this to loop properly in H19? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.