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 = true
Character 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
AirshipRig
with your own animatorFind your
CharacterConfigSetup
component and set theCustom Viewmodel Prefab
field 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