Main character + partner system?

This is my first post :smile:D

Which would be the best way to implement a partner to my main character which is either following him or grabbing to one of his shoulders (think of a pet) and sort of has some combo attacks in which both interact?

Right now all I can think of is making them “one mesh” in for ex. Maya, animate them as one and all the time just treat them as if it was one character… but that would be the case for the shoulder partner … what about the following one? is there any better way of solving this?

common I just want to make sure there isn’t any other option to get it working…

For the partner following you, what kind of “elasticity” do you want; how far they should be, how long before they respond to your movements, etcetera?

it would have some sort of .5 s delay… and they should no get to far actually, about 1-2,5 meters from the main character at the most… but that would be for the “following partners” option… for now I am sticking to the other option which wouldn’t involve this considerations…

AI?

What I’d do is:

Make the pet a separate object completely.

When it wants to be on your shoulder, have it jump up and land on the shoulder bone, then smooth into an “on-shoulder” animation that matches with the player’s movement - or write some specialized Inverse Kinematics to keep the pet upright while perched.

While it’s separate, have it choose a random place to run to near the character, then move towards the spot. When an attack starts, create a jump arc or a movement path of some kind that will cause the pet to end up in the right spot to animate along with the player character.