FQuat
classRotation quaternion
Fields
| Name | Type | Description |
|---|---|---|
| identity | FQuat | Zero rotation |
| x | number | |
| y | number | |
| z | number | |
| w | number |
Functions
FQuat.new(x, y, z, w)
Create a quaternion from raw components
| x | number | |
| y | number | |
| z | number | |
| w | number |
returns FQuat
Used by
- BlockLogic.quat field
- Dimension.spawn_block param
- Dimension.spawn_ghost param
- Transform.set_rotation param
- Transform.get_rotation return