First Person Viewmodel
How to setup first person animations
Forcing First Person Mode
Make the following changes on your CharacterConfigSetup component:
Start In First Person = trueCharacter Camera Mode = Fixed

Custom Viewmodel Arms & Animations
Airship spawns viewmodel arms by default but doesn't animate them at all. Here is how to create a variant of the default CharacterViewmodel arms and edit the animator:
Right click in project tab ⇒ Create ⇒ Airship ⇒ Viewmodel Variant
Double click the newly created prefab variant to open it
Replace the Animator Controller under
AirshipRigwith your own animatorFind your
CharacterConfigSetupcomponent and set theCustom Viewmodel Prefabfield to your new prefab variant.



Playing Animations
You can easily access the animator in code using:
const animator = Airship.Characters.viewmodel?.anim;
if (animator) {
animator.SetTrigger("Jump");
}Last updated