Incari Studio
1.0.0
1.0.0
  • INCARI Studio Documentation
  • Getting Started
    • Minimum Requirements *
    • Installation and License *
    • Creating a Project
    • Project Objects
      • Screen
      • Scene
    • Scene Objects *
      • Camera
      • Group
      • Mesh
      • Lights
      • List Widget
      • Text
      • Web Sprite
    • Attributes
      • Common Attributes
        • Object
        • Rotation Pivot
        • Sprite
        • Transformation
      • Attribute Types
        • Boolean Attributes
        • Numerical Attributes
        • Color Attributes
        • Asset/Object Attribute
    • Interface *
      • Modules *
        • Logic Editor
        • Project Outliner
  • Toolbox
    • Date Time
      • Now (UTC)
      • System Time
      • Timezone Value
    • Flow Control
      • Branch
      • Is Equal
      • Is Greater Equal
      • Is Less Equal
      • Select Data
      • Sequential
      • Switch
      • Toggle
  • Math
    • Absolute
    • Add
    • Average
    • Boolean
      • AND
      • Negate
      • OR
    • Ceil
    • Clamp
    • Decrement
    • Divide
    • Floor
    • Increment
    • Interpolate
    • Logarithm
    • Math Constant
    • Maximum
    • Minimum
    • Modulo
    • Multiply
    • Power
    • Range Mapper
    • Root
    • Subtract
    • Trigonometry
      • Arc Cosine
      • Arc Sine
      • Arc Tangent
      • Cosine
      • Radian-Degree Converter
      • Sine
      • Tangent
Powered by GitBook
On this page
  • Position
  • Rotation
  • Scale

Was this helpful?

  1. Getting Started
  2. Attributes
  3. Common Attributes

Transformation

PreviousSpriteNextAttribute Types

Last updated 3 years ago

Was this helpful?

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 centre, and the x value increasing from centre-to-right, the y value increasing from centre-to-top and the z value increasing from centre-to-front.

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

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 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.

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.