Home Website Youtube GitHub

Space switches, IK FK match for animators and mGear newbees [tutorial]

There are plenty of threads discussing this topic on the forum but some of them are really old and irrelevant so I thought it would be good to have a fresh thread for the current version of mGear.

My first post will be for animators or people new to mGear and the next post will be about setting up the “Space switches”.

A. Space switches, where do you find them?
When I first started using mGear and mGear rigs I was totally confused about space switches mostly because of the terminology used and the location of the space switches

In mGear, space switches are called “references” instead of spaces or switches and are not located on the related limb but instead, you will find them on “Host controls” often found at the root of the character.

For FK we will simply talk about "references" and for IK we will talk about “IK references” and both will be found on those “Host controls”. Beware, sometimes the FK spaces will also be set in the IK references drop down menu :frowning: This is the case for the head of my Sagat rig.

Here is an example for the arm of my Low Po Sagat character :

a. Here are the two FK spaces I setup, the first one is my World Space and the second one the Local Space.

image

b. And here are the two IK spaces. Similarly to the FK, the first “IK reference” is my “World space” and the second the “Local Space”:

image

c. The “UpV ref” is for the space switch of the Pole Vector

The “Elbow pinning” is found in the “Elbow Ref” section :
image

2. IK FK Match

As you can see in the channel editor, this is also on that “host” that you would find the “IK FK switch (blend)”.

image

FK is 0 and IK is 1 but mGear has some really cool features and a built-in “IK FK match” which you can simply access with a RMB (right mouse button click) in the viewport while having the “Host” selected. [No you don’t need to use the Synoptic view as suggested in some old threads]

image

And as you can see, you will also be able to access the “Space switches” from that flying panel, in addition to “Mirror functions”. How cool is that?

That should cover “Space switches” for users and new people. In my next post I will tackle the creation of the switches.

O.

6 Likes

B_ Space switches creation:

In this post we are gonna tackle the creation of the space switches for the arms as demonstrated in the first post.

1. IK space switches:

To create your space switches, you will need to first create a Host. A host can simply be a control_01 component with no joints placed at the very root of your guides structure.

Here I created a host for the right and the left arm and both will be placed on the ground.

image

image

Now we will connect an Arm component to the Shoulder tip of the Shoulder component.

I simply went for an EPIC_arm_01 since my project required the simplest arm setup possible with no bend bows or twist joints.

image

When setting up the Arm component, this is where you will plug the Host component by simply selecting the Host and clicking on the little arrows next to the empty Host text box. If you are unable to plug it and recceive an error message, most lilkely it is because you have a built rig already in the scene and you can’t.

Now this is where the magic will happen!!!

The three large empty text boxes are where you will list your various IK space switches

  • IK Reference Array is to populate the list of parents for the IK arm

  • UpV Reference Array is for the list of parents for the IK arm’s pole vector. I like to have my pole vectors in world so I will set them to Global by default.

  • Pin Elbow Reference Array is to give the animators the option to pin the elbow to a table while acting for example.

Similarly to the Host selection, you can’t have a rig in the scene while setting up your parent switches.

Now that we are done with the IK switches, let’s tackle what used to be a challenge, the FK space switches!!!

2. FK space switches:

Until Chris clarified it two weeks ago in this thread, there was a lot of confusion about FK space switching and people, me included, thought we still had to create some post scripts to create a World FK switch. or dig into Maya’s submenus when in reality it is a lot simpler, but just a tiny bit different than the IK switches.

Instead of setting up the parent switches on the arm… we set them on the shoulder!!! :rofl:

I must admit I had given up on mGear last year until I got a bit more time in my hands and found out the answer by pure luck few days ago, then today, I saw Chri’s answer which I posted above :slight_smile:

So once again we select a host in the Shoulder component main settings panel. I reused the same host as the IK arms since it is for the same limb.

image

Then you will populate the Reference Array text box in the Component Settings tab with your various spaces. Here I traditionally listed the World and Local spaces and that’s it!!!

image

And that’s it, you are done with both your IK and FK Arms Space switches!!!

Ah yes… what about the head now? Do we need to use a Post script as mentionned in this thread or can we use a similar system as the arm FK switches?

I have to admit I haven’t tried yet so let’s see tomorrow!!!

Hopefully this thread was useful for you so far. Have fun mGear rigging!!!

2 Likes

Sorry to intrude on your tutorial, but here is a point of clarification. This is not an FK arm space switch. This is the shoulder space, just like it is labelled. And since the FK arm happens to be parented under the shoulder, it follows. The IK hand also follows this space. It just happens to get overridden by the IK hand space switch on top because it’s a hierarchy. But if you deleted (or didn’t define) the space switches on the IK hand, the arm IK and pole vector and mid controls would follow the shoulder space. (or whatever it happens to be parented under.)

shoulderSpace

I think the main confusion that arises with Shifter is when people think this is a “biped” rig, instead of a connected collection of character-like components assembled into a biped example template. Once you break apart the abstraction in your mind, you are much more free to customize or debug things.

3 Likes

For some reasons, I thought I should post my simple FK neck and head setup with space switches on a separated thread so here it is !

1 Like