ControlSurfaces are components that are attached to Airfoils to make them into elevators, rudders, flaps, etc. While they can be used as a standalone Airfoil, they are usually part of another Airfoil, e.g. a wing.
They require AircraftController and AircraftInputManager to be attached to one of the parent objects.
Before trying to set up control surface please check out the Airfoil page.
In this example an aileron attached to a wing will be set up.
Airfoil should be set up as in the image above, as per the Airfoil setup guide. Ideally, the wing should also cover the control surfaces (in this case an aileron and a flap).Airfoil component and tick Is Control Surface in the Airfoil inspector. Airfoil gizmo will turn red.Airfoil if required.AileronControlSurface, and adjust its settings if needed.Airfoil and at the bottom of its inspector add the AileronControlSurface from the previous step. This will tell the wing that the aileron belongs to it.AircraftController is set up pressing play will now result in a working aileron.
Note that control surface Airfoilss that are not attached to a fixed Airfoil need to have isControlSurface unticked as they act as standalone airfoils that can simply be rotated, instead of being a part of a wing.