🔧Weapon Animation
In this section you will learn how to set up your animations
Last updated
In this section you will learn how to set up your animations
Last updated
Weapons are animated locally in the framework - this includes only weapon parts, such as magazine, trigger, release handle, etc.
The actual weapon root movement is handled by the Weapon Bone object.
This step is similar to the character animation import, but we will need to make some changes to the animation clip.
First off, you need to remove the animator for the weapon root bone, so only weapon parts are animated:
You can use the demo WeaponAnimator as a base for the OverrideAnimatorController:
Then, just call the animator.Play("Reload")
- to play a reload animation on the weapon parts. The framework does not have any restrictions regarding weapon animation, so you can just use the Unity built-in Animator.