Incari Studio
2022.1
2022.1
  • Incari HMI Development Platform
  • Getting Started
    • Overview
    • Requirements
    • What's New
    • Installation
    • First Steps
      • Incari Hub
      • Creating a Project
      • Incari Studio
  • Objects and Types
    • Overview
    • Project Objects
      • Scene
      • Screen
    • Scene Objects
      • Camera
      • Group
      • Lights
      • List
      • Mesh
      • Sprite
      • Text
      • Web Sprite
      • Primitives
      • Screen Space Elements
    • Prefabs
      • Creating and Using Prefabs
      • Logic in Prefabs
      • Nested Prefabs
    • Attributes
      • Attribute Types
        • Asset/Object Attribute
        • Boolean Attribute
        • Color Attribute
        • Numerical Attribute
      • Common Attributes
        • Object
        • Camera
        • Sprite
        • Transformation
          • Global Transformations
          • Local Transformations
    • Data Types
      • Bool
      • Byte
      • Float
      • Int
      • String
      • Vector2
      • Vector3
      • Vector4
    • Terminology
  • Modules
    • Overview
    • Asset Manager
    • Animation Editor
    • Attribute Editor
    • Code Editor
    • Console
    • Exporter
    • Image Sequence Editor
    • Logic Editor
    • Global Preferences
    • Material Editor
      • Default Car Paint Model
      • Default Extended PBR Model
      • Default Glass Model
      • Default PBR Model
      • Default Shadeless Model
      • Default Phong Model
    • Model Editor
    • Plugins
    • Profiler View
    • Project Outliner
    • Project Settings
    • Scene Outliner
  • Toolbox
    • Overview
    • Actions
      • Delay Action
      • FadeFromTo Action
      • FadeTo Action
      • MoveBy Action
      • MoveTo Action
      • RotateBy Action
      • RotateTo Action
      • RotateFromTo Action
      • ScaleBy Action
      • ScaleTo Action
    • Array
      • Array Value
      • Clear Array
      • Concat Arrays
      • Get Array Element
      • Insert Array Element
      • Length of Array
      • Pop Array Element
      • Push Array Element
      • Remove Array Element
      • Set Array Element
    • Binary
      • Binary (Hex) Value
      • Concat Binaries
    • Communication
      • CAN
        • CAN Send Packet
        • CAN Start
        • CAN Stop
        • Events
          • On CAN Packet Received
          • On CAN Start
          • On CAN Stop
      • HTTP
        • Events
          • On HTTP Route
          • On HTTP Server Start
          • On HTTP Server Stop
        • HTTP Client
        • HTTP Response
        • HTTP Server Start
        • HTTP Server Stop
      • MQTT
        • Events
          • On MQTT Start
          • On MQTT Stop
          • On MQTT Topic
        • MQTT Publish
        • MQTT Start
        • MQTT Stop
        • MQTT Subscribe
      • Serial
        • Events
          • On Serial Error
          • On Serial Packet Receive
          • On Serial Start
          • On Serial Stop
        • Serial Send Packet
        • Serial Start
        • Serial Stop
    • DateTime
      • Date Time Formatter
      • Now (UTC)
      • System Time
      • Timezone Value
    • Development
      • Assert
      • Benchmark Get
      • Benchmark Start
      • Benchmark Stop
      • Clear Console
      • Console
      • Profiler Start
      • Profiler Stop
    • Dictionary
      • Clear Dictionary
      • Dictionary Value
      • Erase Dictionary Element
      • Get Dictionary Element
      • Get Dictionary Keys
      • Get Dictionary Values
      • Merge Dictionaries
      • Set Dictionary Element
      • Size of Dictionary
    • Events
      • Custom
        • Event Listener
        • Event Trigger
      • Gestures
        • On Swipe
        • On Tap
      • ImageSequence
        • On ImageSequence Frame Changed
        • On ImageSequence Pause
        • On ImageSequence Play
        • On ImageSequence Stop
      • Keyboard
        • On Key Press
        • On Key Release
      • List
        • On List Current Index Change
        • On List Entry Select
        • On List Load
      • Mouse
        • On Hover Enter
        • On Hover Leave
        • On Mouse Button Down
        • On Mouse Button Up
        • On Mouse Click
        • On Mouse Double Click
        • On Mouse Enter
        • On Mouse Leave
        • On Mouse Move
        • On Mouse Scroll
      • Object
        • On Alpha Change
        • On Opacity Change
        • On Position Change
        • On Position Change 2D
        • On Rotation Change
        • On Rotation Change 2D
        • On Scale Change
        • On Visibility Change
      • On-Screen Keyboard
        • On On-Screen Keyboard Arrow Down Pressed
        • On On-Screen Keyboard Arrow Up Pressed
        • On On-Screen Keyboard Enter Pressed
        • On On-Screen Keyboard Input Changed
        • On On-Screen Keyboard Key Pressed
      • Screen
        • On Screen Scene Change
      • Variables
        • On Variable Change
        • On Variable Set
      • Video
        • On Video Play
        • On Video Finish
      • Web
        • On Javascript Callback
      • WebSprite
        • On WebSprite Load
        • On WebSprite Remote URL Change
    • Flow Control
      • Branch
      • For Each Loop
      • For Loop
      • Index Switch
      • Is Equal
      • Is Greater Equal
      • Is Less Equal
      • Select Data
      • Sequential
      • Switch
      • Toggle
    • Functions
      • Function
        • Function Input
        • Function Output
    • IO
      • Load File
      • Save File
    • Incari
      • Animation
        • Pause Animation
        • Play Animation
        • Stop Animation
      • ImageSequence
        • Get Current ImageSequence Frame
        • Get ImageSequence Duration
        • Get ImageSequence FPS
        • Get ImageSequence Total Frames
        • Go To Next ImageSequence Frame
        • Go To Previous ImageSequence Frame
        • Pause ImageSequence
        • Play ImageSequence
        • Resume ImageSequence
        • Show ImageSequence Frame
        • Stop ImageSequence
      • List
        • Generate List
        • Next List Entry
        • Previous List Entry
        • Select List Entry
        • Set Active
        • Set Current Index
      • Object
        • Get Alpha
        • Get Material
        • Get Opacity
        • Get Position
        • Get Position 2D (px)
        • Get Rotation
        • Get Rotation 2D
        • Get Scale
        • Get Size 2D (px)
        • Get Text Color
        • Get Tint
        • Get Visibility
        • Is Object 2D
        • Is Object 3D
        • Set Alpha
        • Set Material
        • Set Opacity
        • Set Position
        • Set Position 2D (px)
        • Set Rotation
        • Set Rotation 2D
        • Set Scale
        • Set Size 2D (px)
        • Set Text
        • Set Text Color
        • Set Tint
        • Set Visibility
      • On-Screen Keyboard
        • Get Screen Keyboard Layout
        • Set Screen Keyboard Layout
        • On-Screen Keyboard Clear Input
        • On-Screen Keyboard Get Input
        • On-Screen Keyboard Move Selection
        • On-Screen Keyboard Press Button
      • This Scene
      • Scenes
        • Scene
      • Screen
        • Get Scene
        • Set Scene
      • Screens
        • Screen
      • Vector
        • Arc
          • Get ArcEnd
          • Get ArcStart
          • Set ArcEnd
          • Set ArcStart
        • Get BackgroundColor
        • Get FillColor
        • Get StrokeWidth
        • Label
          • Get LabelText
        • Line
          • Get LineWidth
          • Set LineWidth
        • Pie
          • Get PieEnd
          • Get PieStart
          • Set PieEnd
          • Set PieStart
        • Rectangle
          • Get RectangleCorners
          • Set RectangleCorners
        • Set BackgroundColor
        • Set FillColor
        • Set StrokeWidth
      • Video
        • Is Video Playing
        • Pause Video
        • Play Video
        • Seek Video
        • Stop Video
      • WebSprite
        • Get Remote URL
        • Set Remote URL
        • Web Sprite Reload
    • Math
      • Absolute
      • Add
      • Average
      • Boolean
        • AND
        • Bool Value
        • Negate
        • OR
      • Ceil
      • Clamp
      • Decrement
      • Divide
      • Floor
      • Increment
      • Interpolate
      • Logarithm
      • Math Constant
      • Maximum
      • Minimum
      • Modulo
      • Multiply
      • Numerical Value
      • Power
      • Random
      • Range Mapper
      • Root
      • Rotation Matrix
      • Subtract
      • Trigonometry
        • Arc Cosine
        • Arc Sine
        • Arc Tangent
        • Arc Tangent 2
        • Cosine
        • Radian-Degree Converter
        • Sine
        • Tangent
      • Vector Value
    • String
      • Capitalize
      • CharCodeAt
      • Compare
      • Concat Strings
      • Contains
      • EndsWith
      • CryptoHash
      • Format
      • FormatArray
      • IndexOf
      • Join
      • JSON Parse
      • JSON Stringify
      • LastIndexOf
      • Length
      • Lower
      • IsLower
      • MatchRegex
      • PaddingLeft
      • PaddingRight
      • RandomString
      • RemoveCharacters
      • Replace
      • ReplaceRegex
      • Reverse
      • Split
      • StartsWith
      • String Value
      • Trim
      • TrimLeft
      • TrimRight
      • Upper
      • IsUpper
    • Transition
      • CrossFade
      • Fade
      • MoveInFromBottom
      • MoveInFromLeft
      • MoveInFromRight
      • MoveInFromTop
      • SlideInFromBottom
      • SlideInFromLeft
      • SlideInFromRight
      • SlideInFromTop
    • Utilities
      • Color Value
      • Conversion
      • Create CustomID
      • Create Object
      • Get Command Line Option
      • Group
      • Interval
        • Reset Interval
        • Start Interval
      • Is Data Type
      • Is Object Type
      • System Call
      • Timeout
        • Cancel Timeout
        • Start Timeout
    • Variables
      • Variable Getter
      • Variable Setter
    • Web
      • Call JavaScript Function
  • Demo Projects
    • Overview
    • 4 Methods of Animation
    • Using APIs to Pull Dynamic Data
    • An Analog Clock
    • Image Sequence Button Animation
    • Prefabs
    • Project Initialization
Powered by GitBook
On this page
  • Overview
  • Position
  • Rotation
  • Scale
  • Several Objects
  • Groups
  • External Links

Was this helpful?

  1. Objects and Types
  2. Attributes
  3. Common Attributes
  4. Transformation

Local Transformations

PreviousGlobal TransformationsNextData Types

Last updated 2 years ago

Was this helpful?

Overview

Local Transformations are performed along the principal axes of an Object, which can be thought as the most natural axes for the rotation of an Object.

As an example, the Local axes for a cube, a cylinder, and a dome are:

Local Transformations for Position and Rotation are done directly in the Scene Viewport in Local mode. To switch to Local mode simply click on the Local Global icon on the top Menu of the Viewport.

Position

To modify an Object's Position, click on the Translate icon, second from the left on the top Menu. This will make a gizmo appear, showing the axes along which the Object's Position can be modified. In Local mode, the Object's Local axes are shown.

To move an Object along an axis, click on the preferred axis and drag the Object. It can also be moved in any direction by dragging the center of the gizmo or in a plane by dragging the square between two axes.

The example below shows an Object being moved along its Local axes.

Rotation

To be able to rotate an Object, click on the Rotate icon, third from the left on the top Menu. This will make the rotation gizmo appear for the Object. Each circle represents an axis along which a rotation can be performed. For rotating the Object, click on a circle of the gizmo and drag towards the direction in which to perform the rotation. In Local mode, the Object is rotated with respect to its own Local axes.

The example below shows an Object being locally rotated. Note that as the Object is rotated, its Local axes also rotate.

Scale

Scaling an Object can be done either in the Scene Viewport or in the Object's Attributes.

To scale an Object in the Viewport, simply locate the Scale icon fourth from the left on the top Menu. This will make the scale gizmo appear. Each axis ends in a small cube and pulling on these axes, after clicking with the mouse, will change the shape of the Object, as if molding it like clay. The Object is always scaled with respect to its Local axes.

The example below shows a cube being scaled in the Viewport.

It is also possible to scale an Object from its Attributes. For this, modify the Scale values under Transformation in the Attribute Editor: with a right-click, a drop-down Menu for the step change opens; after choosing the step, change the value by scrolling or use the up and down arrows at the right of the value. It is also possible to directly set the value in the input box.

The following example shows the modification of the Scale values for a Cube.

Several Objects

It is also possible to perform Local Transformations on several Objects at once. For this, simply select the Objects to modify either in the Scene View or in the Scene Outliner. It will show the gizmo positioned in the center of all the selected Objects and the axes direction of the last selected Object.

Transformations will then apply to all selected Objects.

The first example shows the Transformation gizmo of each individual Object and then how it looks when they are all selected.

The next two examples show the translation of two cubes and the rotation of two cylinders, respectively.

Groups

Another way of performing Transformations over several Objects is by putting them into a Group. Then, performing Transformations over the Group will Transform the Objects that compose it as if they all were just parts of only one Object.

The example below shows a Local rotation and translation of a Group composed of two cylinders and a cube.

External Links

The Local mode allows one to change the , , and of an Object. It can also be used for and .

on Wikipedia.

Principal Axes
Position
Rotation
Scale
several Objects
Groups
Local Axes for a cube, cylinder, and dome.
Local mode view.