Hand IK while running

Niall OBrien 4 weeks ago in Shooter updated by BV123 3 weeks ago 1

Hi all, I'm just wondering if there's a way for a character to hold the sniper rifle for example, with both hands while running? Thanks in advance.

Unity version:
Game Creator version:

I think the best way is to have a running animation of a character holding a rifle (I know there's a free one on https://www.mixamo.com/#/ ) and then use the Character Hand action to make the character's left hand reach for an empty game object that's a child of the rifle if the hand and animation don't perfectly line up.

You'd also have to create a Character State (right-click in Project Window->Create->Game Creator->Characters) and then switch to that state with the Character State action when you draw the rifle. Make sure to add the running with rifle animation to the Character State.

Well, at least that's the way I'd try it. Hope that helps. :-)