Hey, I’m a bit confused.
So lets say that I have 3 models that each have their own animation. There is A_Run.fbx, B_Run.fbx, and C_Run.fbx. They are the same character, just slightly differed running animations.
I have a script on the player, that says there are 3 weapon types, A, B, and C. Each has their own corresponding animation, as seen above.
What I want to happen:
function Update()
{
if(moving)
{
play running animation. ( A_run.fbx, B_run, etc )
}
}
if(Weapon type == 'A')
{
use the A_Run.fbx for running animation
}
if(Weapon type == 'B')
{
use the B_Run.fbx for running animation
}
How would I achieve this?