> For the complete documentation index, see [llms.txt](https://pmc-docs.gitbook.io/pmc-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pmc-docs.gitbook.io/pmc-docs/pmc-nodes/set-directional-rotation-input.md).

# Set Directional Rotation Input

![](/files/EVrLGzCqaqHZiBlnGYWI)\
\ <mark style="color:$warning;">Description</mark>

> Handles the rotation of the physics object based on directional input. This function aligns the object's rotation with the camera's orientation while managing physical properties like angular damping to ensure smooth movement.

<mark style="color:$warning;">Parameters</mark>

* Request: A boolean that toggles the rotation state. Typically connected to the *Triggered* and *Completed* pins of an Input Action (as shown in the example).
