# Transformation

All **Objects** in **Incari** exist in *3D* space, and have a set of **Attributes** to define their **Transformation** data. **Transformation** is divided into three **Vector3** type **Attributes**: `Position`, `Rotation`, and `Scale`.

## Position

`Position` is defined by three values, representing each of the three axes of a three dimensional Cartesian coordinate system.

In most *2D* graphics applications, you will typically see a coordinate system with the origin (0,0) at the top-left corner of a document, and the X value increasing from left-to-right and the Y value increasing from top-to-bottom.

In **Incari**, coordinates are in 3D Euclidean space, with the origin (0, 0, 0) at the center, and the `x` value increasing from center-to-right, the `y` value increasing from center-to-top and the `z` value increasing from center-to-front.

Any point in space can be determined by these `x`, `y` and `z` values.

![](https://3009747178-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MIspkFTPkuGkv4UgQGs-1330240639%2Fuploads%2Fgit-blob-9f82aad30d58c3b3927549a209ee1132e93ef4f5%2Fcoordinates%20\(1\).png?alt=media)

## Rotation

The `Rotation` **Attribute** represents the Euler angle of rotation of an **Object** along each of its axes. The **Object** is rotated in *local space*, meaning that any adjustments will be made along its *own* axes, not the axes of the **Scene** itself. Axes can be thought of as being like three skewers, going through the **Object** and intersecting at the **Object's** **Pivot Point**.

![](https://3009747178-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MIspkFTPkuGkv4UgQGs-1330240639%2Fuploads%2Fgit-blob-c01088964176017193677c8f6577a1f89c19b2b8%2Frotation.gif?alt=media)

## Scale

`Scale` multiplies the size of an **Object** along its axes, relative to its **Origin**. By default, `Scale` is set to 1, 1, 1, meaning that it is at 100% of its size on all axes.

![](https://3009747178-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MIspkFTPkuGkv4UgQGs-1330240639%2Fuploads%2Fgit-blob-6668fce4f0aa218df79e7d5dc8012c7aaaf9ff20%2Fscale.gif?alt=media)
