# Yaw Control

There are multiple payload options (such as Pyro) that benefit from the ability to point drones in specific directions. The design studio has support for automating drone yaw based on shape information such as normal or tangent vectors.

## Enabling Yaw Control

To activate yaw control, go to the launchpad inspector and make sure that "Use Default Agent Config" is unchecked. Set "Payload Mount" to "Yaw".

<figure><img src="/files/Kj833ERdjy21jS86n6uI" alt="" width="331"><figcaption></figcaption></figure>

## Payload Target Events

To create yaw targets, a tracked shape must contain a ***Geometry Payload Layer*** with ***Payload Target Events***. ***Geometry Payload Layers*** can be placed inside of a ***Geometry Light Mixer*** component.

<figure><img src="/files/Q1BgBEp8fgIl44xsEKtP" alt="" width="563"><figcaption></figcaption></figure>

There are multiple event types that provide flexible ways of turning drones.

* World Target
  * Face all drones toward the center of a scene object. This object can be animated to dynamically shift drones as the scene object moves
* World Vector
  * Face all drones in a specific direction
* Local Rotation
  * Face all drones with an optional offset relative to the tangent vector of the current slot
* Dynamic Rotation
  * Animatable version of the local rotation effect with options for looping and phase offsets

<figure><img src="/files/wh87CkPNFTCm9uoDDelv" alt=""><figcaption><p>An example of drones turning to face a world target in the scene</p></figcaption></figure>

## Transitions

All Payload Target events also handle transitions by spending the first x% of the event easing into the new rotation. The percentage as well as the easing method is configurable.

<figure><img src="/files/9DasTSyfgDMW1xcee68v" alt="" width="278"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.verge.aero/drone-show-software/verge-design-studio/advanced-topics/yaw-control.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
