Documentation / Node reference / code nodes

code/QuaternionFromAxisAngle

Outputs the rotation by an angle around an axis.

Quaternion

Outputs a quaternion that turns by angle around axis.

Parameters

Name Type What it does
axis Vector3 Axis to turn around, of length 1.
angle Float Angle to turn by, in radians.

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.