Table of Contents

LandingGear component takes care of steering, brakes, rigging and animation.

Basic Setup

Rigging

For rigging to work properly a specific setup model setup is required with the following hierarchy:

Assign the upper and lower suspension arm to the Uper Suspension Arm and Lower Suspension Arm fields. The SuspensionArmLower should have rotation such that it's local Z axis points towards the pivot point of the SuspensionArmUpper:

Proper rotation of the lower suspension arm to work with rigging.

Objects that move and steer with the wheel such as fairing can be added to the Static Transform field.

Front wheel fairing on Cirrus SR22 is a static transform (relative to the wheel) since it moves with the wheel keeping the constant offset.

Animation

Landing gear that can extend/retract can use animation to achieve this. I will not be going over the steps to set up the animation as this is a standard Unity process and is explained quite well in the official tutorial here.

The default state for animation is extended landing gear. The default animation (going forward) is extended ⇒ retracted. Extending the landing gear is simply the retracting animation played in reverse.

Setup
Example AnimationController setup.