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.
Mesh Rotation
Learn how to properly rotate a mesh in Babylon.js.
Sequencing Rotations
Learn how to sequence rotations in Babylon.js.
Rotation Quaternions
Learn about rotation quaternions in Babylon.js.
Target Axes Alignment
Learn about target axes alignment in Babylon.js.
Rotation Conventions
Learn about rotation conventions in Babylon.js.
Introduction To Coordinate Transformation
Learn all about coordinate transformation in Babylon.js.
Coordinate Transformation Examples
Check out coordinate transformation examples in Babylon.js.
Baking Transformations
Learn about how to bake transformations in Babylon.js.