how to blend Transform.Rotate to animation such as walking or running

I used Transform.Rotate to make character turn left or right, but how to blend rotation to animation such as walking or running ?

hoping for your answer, thanks

You should look into bones in your animation package. I’m a programmer so I don’t know how to do that (got an artist for that) but you can blend multiple animations together if they use bone animation.

EDIT: Wait… you meant something else…

You need to visually animate your character in your modelling program then measure how many meters it walked in one cycle (from start frame to end frame), then if your scale is correct you should have your speed as (distance walked / animation time)

Alternatively you can measure the distance between steps, heel to toe…

I tried andI have answer now.
fist play a animation and at the same time use Transform.Rotate to rotate,then they happened synchronously,

Oh lol, you meant how to actually code it… my bad :slight_smile: