shortcut to handle or repeat the last keyframe

General Moho topics.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
viccho
Posts: 38
Joined: Wed Jun 29, 2022 7:49 am

shortcut to handle or repeat the last keyframe

Post by viccho »

Hi everyone !
i give an example, easier to explain :
i'm animated a bone (or anything else) beetween frame 1 and frame 6 (for exemple) and then i do not want to animate it untill frame 30. then i need to animate from frame 30 to 34. Now i touch the bone with the manipulate bone tool and it create a keyframe,but it happens that it move very slightly the bone. the 'add keyframe" in animation menu, add keyframe in other layer and i just want a keyframe on the bone.
Is there a way to add fastly just a keyframe on a bone.?

have a nice day
User avatar
SimplSam
Posts: 1218
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: shortcut to handle or repeat the last keyframe

Post by SimplSam »

This was discussed recently. You can double click the timeline on the desired channel/frame, or right click on the desired channel/frame and Add Keyframe, or menu [Bone] > [Freeze Selected bone] (Ctrl-Shift-F) - which keyframes Pos, Rot, Scale at the current frame.
Moho 14.3 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.3 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
User avatar
Víctor Paredes
Site Admin
Posts: 5818
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Re: shortcut to handle or repeat the last keyframe

Post by Víctor Paredes »

There are several ways to do this (as SimplSam just pointed while I was writing this message :) ):
- Double click on the channel adds a keyframe. If you double click over the gray line, you will be adding a keyframe for every bone, if you double click on the red line, you will add a keyframe only on the selected bone(s)
- Ctrl+F to Freeze the pose. This shortcut adds a keyframe on every bone for Rotation, Translation and Scale in the current frame.
- Bone -> Freeze selected bones menu. It works as the other one, but only adds keys on the selected bones

Personally, I recommend you to assign your own shortcuts to these menu items, depending on what it's more comfortable for you.
You can do that on Edit -> Edit Keyboard Shortcuts
In my case, I'm constantly hiding/showing bones during the animation process, so Ctrl+F is Freeze Visible Bones (instead of Freezing the entire skeleton).
I also added a shortcut to hide the Selected Bones only.
Image
Image Image Image Image Image Image
Moho co-owner

Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
User avatar
SimplSam
Posts: 1218
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: shortcut to handle or repeat the last keyframe

Post by SimplSam »

I didn't know you could add shortcuts in that way - such as to intelligently toggle bone visibility (Ctrl-H). Very handy.
Moho 14.3 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.3 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
viccho
Posts: 38
Joined: Wed Jun 29, 2022 7:49 am

Re: shortcut to handle or repeat the last keyframe

Post by viccho »

thank you :)
sorry that it already have been posted. however i first search on the forum, but i may not have input the right words
User avatar
hayasidist
Posts: 3857
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: shortcut to handle or repeat the last keyframe

Post by hayasidist »

viccho wrote: Wed Sep 07, 2022 10:22 am Hi everyone !
i give an example, easier to explain :
i'm animated a bone (or anything else) beetween frame 1 and frame 6 (for exemple) and then i do not want to animate it untill frame 30. then i need to animate from frame 30 to 34. Now i touch the bone with the manipulate bone tool and it create a keyframe,but it happens that it move very slightly the bone. the 'add keyframe" in animation menu, add keyframe in other layer and i just want a keyframe on the bone.
Is there a way to add fastly just a keyframe on a bone.?

have a nice day
another approach could be to key a "hold" for the item -- right click the selected item's (red-channel) keyframe to bring up the keyframe menu then enter the number of frames to keep the item held at whatever was keyed.

e.g. you have a keyed value on frame 6 that you want to leave unchanged until frame 30 ... enter 24 (i.e. 30-6) in the "hold duration" box
Daxel
Posts: 1088
Joined: Wed Mar 27, 2019 8:34 pm

Re: shortcut to handle or repeat the last keyframe

Post by Daxel »

viccho wrote: Wed Sep 07, 2022 11:39 am thank you :)
sorry that it already have been posted. however i first search on the forum, but i may not have input the right words
The search engine of this forum is pretty bad. Use google and type "site:lostmarble.com" next time for better results. I wonder how many questions could be solved just changing the search engine of the forum to google.
User avatar
Greenlaw
Posts: 10466
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: shortcut to handle or repeat the last keyframe

Post by Greenlaw »

Hi Viccho,

When I want a hold, I just copy and paste the previous key to the current frame. It doesn't even take a second to do. Another option is to simply click on the bone or item, and if you have Copy Previous Key selected for Interpolation (which you really should if you haven't,) Moho will create the same key at the current frame.

I prefer to copy paste to be sure, especially where more than one channel is involved with the item.

You can also change the key to a Step frame, which will hold the key until the next key is created. I normally don't like to do this because I use Copy Previous Key and Moho will make the new key a Hold. Also, for me anyway, using Copy/Paste is more flexible and easier to retime.

BTW, when I to hold an entire pose, I use Freeze Pose (Ctrl) where I want the hold to start and again where I want the hold to end. This might be considered a little 'sloppy' because it keyframes everything, but if you're confident about your keyframing, it's a fast way to work.
User avatar
Greenlaw
Posts: 10466
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: shortcut to handle or repeat the last keyframe

Post by Greenlaw »

That reminds me, does anybody remember how to select keyframes in the timeline vertically? I recall you should be able to do that by double-clicking at the bottom of the column beneath the last key, or something like that...or did I imagine this feature?

Actually I do remember having this discussion here a few years ago but I can't seem to do this now. Was the feature removed or maybe I'm just doing it wrong? (Or maybe I DID imagine it. Hmm?) :?
User avatar
Greenlaw
Posts: 10466
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: shortcut to handle or repeat the last keyframe

Post by Greenlaw »

Oh, I just read Victor's reply. Yes, Freeze Visible is probably better than Freeze Pose. (I'm not sure which one I have set up in the MQC panel...I should check that.)
User avatar
synthsin75
Posts: 10280
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: shortcut to handle or repeat the last keyframe

Post by synthsin75 »

Greenlaw wrote: Thu Sep 08, 2022 6:23 pm That reminds me, does anybody remember how to select keyframes in the timeline vertically? I recall you should be able to do that by double-clicking at the bottom of the column beneath the last key, or something like that...or did I imagine this feature?

Actually I do remember having this discussion here a few years ago but I can't seem to do this now. Was the feature removed or maybe I'm just doing it wrong? (Or maybe I DID imagine it. Hmm?) :?
Relevant thread: http://www.lostmarble.com/forum/viewtopic.php?t=29608

We lost that in v12. A shortcut for Animation>Consolidate Layer Channels is probably the fastest way now.
User avatar
Greenlaw
Posts: 10466
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: shortcut to handle or repeat the last keyframe

Post by Greenlaw »

Ah, thanks Wes! I totally forgot about using Consolidate for this.
Last edited by Greenlaw on Fri Sep 09, 2022 9:51 am, edited 1 time in total.
User avatar
synthsin75
Posts: 10280
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: shortcut to handle or repeat the last keyframe

Post by synthsin75 »

I forgot I had posted a script in that thread. Probably a wee bit faster than consolidate, at least with a button script shortcut.
User avatar
Greenlaw
Posts: 10466
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: shortcut to handle or repeat the last keyframe

Post by Greenlaw »

Shoot, I hadn't looked that far into the thread. Downloaded the script and will try it out this weekend. Thanks!
Post Reply