Documentation / Node reference / code nodes
code/SetObjectQuaternion
Rotates the object when triggered.
Actions
Sets the object's rotation when its trigger fires. lerp below 1 turns it only part of the way.
Parameters
| Name | Type | What it does |
|---|---|---|
| quaternion | Vector4_64 | Rotation to set, as a quaternion. |
| lerp | Float | Fraction of the way to go. 1 jumps there. |
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.