How to limit the type of key frames a bone can set?

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
peng
Posts: 39
Joined: Mon Oct 18, 2021 3:13 am

How to limit the type of key frames a bone can set?

Post by peng »

Can i limit a bone to only set rotation key frames?
User avatar
Greenlaw
Posts: 9271
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: How to limit the type of key frames a bone can set?

Post by Greenlaw »

Moho keyframes the channels that change as you animate them. So, if you animate only rotation in a bone, either directly or by using IK, only the rotation channel will get keyframes.

If other channels are getting keyframed, make sure Auto-Freeze Keys is disabled. Auto-Freeze will automatically keyframe all of the bone channels, even when you change only one.
User avatar
SimplSam
Posts: 1049
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: How to limit the type of key frames a bone can set?

Post by SimplSam »

You can lock the Position and Scale of a bone - with a little cheat.

You can add a 'ghost bone', and set the Position and Scale of your Rotate-Only Bone to be controlled by the 'ghost bone'.

Strictly speaking, this will still create keyframes - if you try to alter the position or scale of the Rotate-Only Bone, but those keyframes will have no effect.
Moho 14.1 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
User avatar
Greenlaw
Posts: 9271
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: How to limit the type of key frames a bone can set?

Post by Greenlaw »

SimplSam wrote: Thu Oct 05, 2023 7:01 pm You can add a 'ghost bone', and set the Position and Scale of your Rotate-Only Bone to be controlled by the 'ghost bone'.
Clever! Will bookmark that in my head for when I need it. :D
peng
Posts: 39
Joined: Mon Oct 18, 2021 3:13 am

Re: How to limit the type of key frames a bone can set?

Post by peng »

wow the ghost bone idea is great! however i still hope someone could create a script for this cause it will save a lot of unnecessary kf being set by accident. thank you guys :)
slashdotaccount
Posts: 6
Joined: Tue Jan 29, 2008 2:10 pm
Contact:

Re: How to limit the type of key frames a bone can set?

Post by slashdotaccount »

Moho automatically keys the channels that change during the animation process. If you want to limit a bone to setting only rotation keyframes, ensure that the Auto-Freeze Keys option is disabled. This will prevent the automatic keyframing of channels other than rotation when you animate the bone directly or through IK.
Post Reply