How does this turret animation work?

In this video, the Spartan’s feet stay planted firmly on the ground, and the arms and torso follow the direction of the torso seamlessly. The animation also looks very clean and responds to the recoil of the weapon, so I highly doubt that all of the joints are purely programmed in via mathematical formula.

If you had to guess, how might this work? I’m considering adding a kind of mounted turret to my game, and I dont want the player model just floating around wherever the turret goes

1 Like

it will obviously use alot of math and welding.

It is just turning the head of the turret towards the mouse.

Here are some sources:

1 Like

Sorry, I wasn’t clear in my post. By the animation, I was referring to the movement of the player’s body and limbs that follow the turret, not the movement of the turret itself

Oh : /. Well that is done using Inverse Kinematics! And a ton of maths.

1 Like

There is 2 ways you could make this I think,

First off, inverse kinematic it basically makes an animation based on where your hand/foot is.

Second off welding the players legs to the ground. Maybe