Documentation / Node reference / code nodes
code/SDFTwist
Twists a position around an axis, to twist what reads it.
Sdf3d
Turns a position around axis, by rate radians per unit along it, so a shape that reads it comes out twisted. The twist is zero at center. Use it inside a geo/SDFBuilder.
Parameters
| Name | Type | What it does |
|---|---|---|
| axis | UInt8 X · Y · Z | The axis the shape twists around. |
| radius | Float | Shape's reach from the axis. Too small can miss surfaces. |
| P | Vector3 | Position to twist. Defaults to the sample position. |
| center | Vector3 | The point where the twist is zero. |
| rate | Float | Radians of turn per unit. Negative twists the other way. |
See also
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.