Documentation / Node reference / code nodes
code/QuaternionSlerp
Outputs a rotation part way between two others.
Quaternion
Turns from q0 to q1 at a steady speed, the short way round. blend 0 gives q0, 1 gives q1.
Parameters
| Name | Type | What it does |
|---|---|---|
| q0 | Vector4 | Rotation at blend 0. |
| q1 | Vector4 | Rotation at blend 1. |
| blend | Float | How far from q0 to q1, from 0 to 1. |
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.