Centered on Created Origin

Transformations About the Local Origin

In this section we will only be looking at examples of the effects of changing the position, rotation and scale of a mesh based on its center of transformation being its local space origin. A later section will consider changes of center of transformation using parents, pivots and matrices. In this section the transformation of one mesh in terms of the frame of reference of another is tackled by the method of cooordinate transformation. It is also possible to transform the mesh vertices coordinates and so effectively changing the center of rotation, this process of baking transformations is described although it should only be necessary in exceptional circumstances.

Coming next

Position A Mesh
Learn about positioning meshes in Babylon.js.
Position A Mesh
Mesh Rotation
Learn how to properly rotate a mesh in Babylon.js.
Mesh Rotation
Sequencing Rotations
Learn how to sequence rotations in Babylon.js.
Sequencing Rotations
Rotation Quaternions
Learn about rotation quaternions in Babylon.js.
Rotation Quaternions
Target Axes Alignment
Learn about target axes alignment in Babylon.js.
Target Axes Alignment
Rotation Conventions
Learn about rotation conventions in Babylon.js.
Rotation Conventions
Introduction To Coordinate Transformation
Learn all about coordinate transformation in Babylon.js.
Introduction To Coordinate Transformation
Coordinate Transformation Examples
Check out coordinate transformation examples in Babylon.js.
Coordinate Transformation Examples
Baking Transformations
Learn about how to bake transformations in Babylon.js.
Baking Transformations