# Parents and Pivots

> Learn all about parent relationships and pivots in Babylon.js.

Source: https://doc.babylonjs.com/features/featuresDeepDive/mesh/transforms/parent_pivot

## Transformation, Pivots and Parents

If you want to rotate or scale a mesh, or another object, about a point other than its own _local origin_, you can do so by changing its center of transformation using either a parent or a pivot. Although in general conversation, and in some 3D applications, a center of transformation may be referred to as a pivot point, in Babylon.js the term _pivot_ is used when setting a center of transformation with a specific method. The effects of using a parent or a pivot are different. To obtain behavior similar to the pivot point behavior described in applications such as 3DS Max or Maya, set [`mesh.parent`](https://doc.babylonjs.com/typedoc/classes/babylon.node#parent) to act as the pivot point rather than using [`setPivotPoint`](https://doc.babylonjs.com/typedoc/classes/babylon.transformnode#setPivotPoint).

When the `parent` property is set on a mesh, transforming the parent applies the same transformations to the child. [Translations](https://doc.babylonjs.com/typedoc/classes/babylon.transformnode#translate), rotations, and scaling of the child take place relative to the _local origin_ of the child. Setting the position of the child is relative to the _local origin_ of the parent. In simpler terms, moving the child will not move the parent, and moving the parent will move the child.

Depending on the [method used to produce the parent-child relationship](https://doc.babylonjs.com/features/featuresDeepDive/mesh/transforms/parent_pivot/parent), some transformations made to the parent prior to the moment of forming the relationship may also be applied to the children at or after that moment. It usually makes sense not to rotate or move a child before assigning its parent.

When a pivot is set on a mesh, repositioning the mesh will reposition the pivot so that its placement relative to the mesh is not changed. Rotation and scaling of the mesh take place relative to the pivot. More simply, moving the mesh will move the pivot and moving the pivot will not move the mesh.

Using a pivot can be tricky, and a number of methods are available. Some of these methods, but not all, may actually change the _local origin_ of a mesh.

## Pages in this section

- [Transform Node](https://doc.babylonjs.com/features/featuresDeepDive/mesh/transforms/parent_pivot/transform_node.md): Learn about the transform node in Babylon.js.
- [Parents and Children](https://doc.babylonjs.com/features/featuresDeepDive/mesh/transforms/parent_pivot/parent.md): Learn about parents and children in Babylon.js.
- [Pivots](https://doc.babylonjs.com/features/featuresDeepDive/mesh/transforms/parent_pivot/pivots.md): Learn about pivots in Babylon.js.
- [Rotating Around Axis](https://doc.babylonjs.com/features/featuresDeepDive/mesh/transforms/parent_pivot/pivot.md): Learn how to rotate around an axis in Babylon.js.
