Documentation / Node reference / code nodes
code/Rotate
Outputs a vector rotated by a quaternion.
Math
Outputs vec3 rotated by quaternion.
Parameters
| Name | Type | What it does |
|---|---|---|
| vec3 | Vector3 | Vector to rotate. |
| quaternion | Vector4 | Rotation to apply. |
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.