Denizen Script Object Types

Object Types are the fundamental types of data passed around in a Denizen script, often seen as the return type of a tag.
Learn about how objects work in The Beginner's Guide.

Showing 1 out of 72 object types...
Base TypeElementTag
Identity FormatThe identity format for quaternions is <x>,<y>,<z>,<w>
For example "0,0,0,1" is the Identity quaternion.
You can input the word "identity" to get an identity quaternion as well.

You can also construct quaternions via tags such as Tag:VectorObject.to_axis_angle_quaternion or Tag:VectorObject.quaternion_between_vectors.
DescriptionA QuaternionTag represents a 3D rotation in an advanced mathematical format.
These are only useful in certain obscure cases, such as Display entities.
They have some useful capabilities, such as preventing 'gimbal lock' (a phenomenon where repeatedly rotating something eventually stops working).
See 🔗 for more info about what a quaternion actually is.