> For the complete documentation index, see [llms.txt](https://renownedgames.gitbook.io/ai-tree/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://renownedgames.gitbook.io/ai-tree/nodes/tasks/quaternion/from-to-rotation.md).

# From To Rotation

Node description and basic instructions

### Description

Compute rotation which rotates from `dir1` to `dir2`.

**To create it**, right-click in the editor and select <mark style="color:purple;">Create Node/Tasks/Quaternion/From To Rotation</mark>

This task node has a number of fields, that are highlighted in picture below.

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2FOgelTy5pM3vHv4A5R6zy%2Fimage.png?alt=media&amp;token=70eea3c3-0e89-483a-b4c0-2ccfc6fb2499" alt=""><figcaption></figcaption></figure>

### Fields

| Name              | Description                                               |
| ----------------- | --------------------------------------------------------- |
| Node Name         | Name of node.                                             |
| Ignore About Self | Whether node ignores abort self or not.                   |
| Store Result      | Rotation which rotates from fromDirection to toDirection. |
