# AI Rotate Towards Target Notify

This is a notify which will only work on animations that are being used by a **Soulslike Enemy** (B\_Soulslike\_Enemy) class or a class that implements the **BPI\_Enemy** interface.

It is used to **control the rotation of the AI character mid-animation (root motion supported)** through a *generic rinterp/timeline based logic*. The length of the notify dictates the speed of the rotation.

{% hint style="success" %}
This is an example **optional** notify. If you are planning on using [**Motion Warping**](/extending-functionality/using-motion-warping.md) you can ignore this notify and just utilize that **MotionWarping** notify instead.
{% endhint %}

<figure><img src="/files/FpbWIznr3Xia4VGEvFPM" alt=""><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://soulslike-framework.isik.vip/animation-notifies/miscellaneous/ai-rotate-towards-target-notify.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.
