# \#rotation

**URL:** https://forum.babylonjs.com/tag/rotation/376.md

[Latest](https://forum.babylonjs.com/latest.md) · [Categories](https://forum.babylonjs.com/categories.md) · [Tags](https://forum.babylonjs.com/tags.md)

---

## [Babylon.js Interactive Coordinate Playground](https://forum.babylonjs.com/t/babylon-js-interactive-coordinate-playground/63865)

<div class="topic-metadata">

**Author:** [@Ehtesham\_Ahmad\_Nadim](https://forum.babylonjs.com/u/Ehtesham_Ahmad_Nadim)\
**Replies:** 2\
**Last updated:** [July 28, 2026, 9:10pm UTC](https://forum.babylonjs.com/t/babylon-js-interactive-coordinate-playground/63865 "2026-07-28T21:10:08Z")

</div>

An interactive Babylon.js playground for learning the coordinate systems

---

## [Get center point of an arc](https://forum.babylonjs.com/t/get-center-point-of-an-arc/63148)

<div class="topic-metadata">

**Author:** [@Trevor\_Orr](https://forum.babylonjs.com/u/Trevor_Orr)\
**Replies:** 3\
**Last updated:** [April 14, 2026, 4:05pm UTC](https://forum.babylonjs.com/t/get-center-point-of-an-arc/63148 "2026-04-14T16:05:45Z")

</div>

I created this using MeshBuilder.CreateCylinder and CSG2. I want to be able to pivot it at the center of the arc as shown in the image. How do I go about getting the center point of it? The angle, inner and outer radi…

---

## [Three.js rotation to babyloy rotationQuaternion](https://forum.babylonjs.com/t/three-js-rotation-to-babyloy-rotationquaternion/63017)

<div class="topic-metadata">

**Author:** [@Trevor\_Orr](https://forum.babylonjs.com/u/Trevor_Orr)\
**Replies:** 2\
**Last updated:** [April 2, 2026, 5:43am UTC](https://forum.babylonjs.com/t/three-js-rotation-to-babyloy-rotationquaternion/63017 "2026-04-02T05:43:55Z")

</div>

I have been using Three.js and I am converting my app to Babylon. In my Three.js app save the design parts with storing the rotation as degrees (X, Y, Z). In my Babylon I am saving the rotation as rotationQuaternion. I…

---

## [How to correctly setup a proxy node for RotationGizmo](https://forum.babylonjs.com/t/how-to-correctly-setup-a-proxy-node-for-rotationgizmo/59354)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 10\
**Last updated:** [July 7, 2025, 7:56am UTC](https://forum.babylonjs.com/t/how-to-correctly-setup-a-proxy-node-for-rotationgizmo/59354 "2025-07-07T07:56:03Z")

</div>

For anyone interested , this is the latest playground: I’m using RotationGizmo for nodes with non uniform scaling, and searched the forum to find this post about proxing transfroms. I’ve tried to setup a proxy node …

---

## [Rotation bug when using mouse movements for rotation](https://forum.babylonjs.com/t/rotation-bug-when-using-mouse-movements-for-rotation/55772)

<div class="topic-metadata">

**Author:** [@shashank2104](https://forum.babylonjs.com/u/shashank2104)\
**Replies:** 3\
**Last updated:** [January 7, 2025, 9:52am UTC](https://forum.babylonjs.com/t/rotation-bug-when-using-mouse-movements-for-rotation/55772 "2025-01-07T09:52:27Z")

</div>

New here: I am trying to use the following link as a reference for my model to have mouse movements for the model rotation which works well for some models but for some reason, the rotation looks strange as shown in the…

---

## [After operating with the ScaleGizmo class in babylonjs, the problem of rotation cannot be solved after cutting back to the RotationGizmo](https://forum.babylonjs.com/t/after-operating-with-the-scalegizmo-class-in-babylonjs-the-problem-of-rotation-cannot-be-solved-after-cutting-back-to-the-rotationgizmo/55099)

<div class="topic-metadata">

**Author:** [@zertaul](https://forum.babylonjs.com/u/zertaul)\
**Replies:** 3\
**Last updated:** [December 3, 2024, 7:54am UTC](https://forum.babylonjs.com/t/after-operating-with-the-scalegizmo-class-in-babylonjs-the-problem-of-rotation-cannot-be-solved-after-cutting-back-to-the-rotationgizmo/55099 "2024-12-03T07:54:17Z")

</div>

As shown in the question, when I was developing the animation function at the beginning, I found that no matter how I scaled it, I couldn’t rotate the model through the RotationGizmo component. At first, I thought it was…

---

## [Single-handle 3d rotation gizmo?](https://forum.babylonjs.com/t/single-handle-3d-rotation-gizmo/54496)

<div class="topic-metadata">

**Author:** [@HiGreg](https://forum.babylonjs.com/u/HiGreg)\
**Replies:** 15\
**Last updated:** [November 4, 2024, 11:01am UTC](https://forum.babylonjs.com/t/single-handle-3d-rotation-gizmo/54496 "2024-11-04T11:01:06Z")

</div>

Is there a 3d rotation gizmo with a single handle?

---

## [Make one mesh follow the rotation of another, each with different scale](https://forum.babylonjs.com/t/make-one-mesh-follow-the-rotation-of-another-each-with-different-scale/54292)

<div class="topic-metadata">

**Author:** [@Antony](https://forum.babylonjs.com/u/Antony)\
**Replies:** 8\
**Last updated:** [October 26, 2024, 1:03am UTC](https://forum.babylonjs.com/t/make-one-mesh-follow-the-rotation-of-another-each-with-different-scale/54292 "2024-10-26T01:03:27Z")

</div>

Hi everyone, In this playground, I want to rotate one mesh and make the other two meshes follow. When the scaling sign (+ or -) matches, it is straightforward, but somehow I have one mesh whose scaling.z is negative, …

---

## [Decals and angle](https://forum.babylonjs.com/t/decals-and-angle/52349)

<div class="topic-metadata">

**Author:** [@simon](https://forum.babylonjs.com/u/simon)\
**Replies:** 17\
**Last updated:** [July 29, 2024, 9:35pm UTC](https://forum.babylonjs.com/t/decals-and-angle/52349 "2024-07-29T21:35:11Z")

</div>

Hello! I have a problem. I try to create a decal for mesh from the plane. And it is pretty simple until we will not try to rotate decal corresponding to mesh rotation. I attach the playground here: It is without sett…

---

## [Making Correct point of Polyhedra shape face towards another mesh](https://forum.babylonjs.com/t/making-correct-point-of-polyhedra-shape-face-towards-another-mesh/52009)

<div class="topic-metadata">

**Author:** [@AncientA](https://forum.babylonjs.com/u/AncientA)\
**Replies:** 4\
**Last updated:** [July 15, 2024, 5:43pm UTC](https://forum.babylonjs.com/t/making-correct-point-of-polyhedra-shape-face-towards-another-mesh/52009 "2024-07-15T17:43:18Z")

</div>

I’ve a question regarding the making a PolyHedra shapes certain edge always point towards another mesh. I sort of got this to work as below: private createKickingDiamond() { // Create the diamond shape for the kickin…

---

## [Rotation parameter is not working for the added plane](https://forum.babylonjs.com/t/rotation-parameter-is-not-working-for-the-added-plane/51700)

<div class="topic-metadata">

**Author:** [@SAURABH\_CHADHA](https://forum.babylonjs.com/u/SAURABH_CHADHA)\
**Replies:** 5\
**Last updated:** [July 1, 2024, 9:20am UTC](https://forum.babylonjs.com/t/rotation-parameter-is-not-working-for-the-added-plane/51700 "2024-07-01T09:20:01Z")

</div>

I have added a plane in the scene. Its position \[x,y,z\] and width, height is working perfectly fine. Now I have added rotation to it, which is not working. What is wrong with my code ? Here is the code for the same: {…

---

## [Rotate PhysicsBody around scene's axis](https://forum.babylonjs.com/t/rotate-physicsbody-around-scenes-axis/50839)

<div class="topic-metadata">

**Author:** [@whale](https://forum.babylonjs.com/u/whale)\
**Replies:** 1\
**Last updated:** [May 26, 2024, 8:39am UTC](https://forum.babylonjs.com/t/rotate-physicsbody-around-scenes-axis/50839 "2024-05-26T08:39:57Z")

</div>

I’m working on my version of a labyrinth. According to this playground example, I can manage the rotation of meshes to decide whether they should rotate around their own axis or the scene’s axis. However, I’m having …

---

## [How to create multiple instances of merged meshes that rotate?](https://forum.babylonjs.com/t/how-to-create-multiple-instances-of-merged-meshes-that-rotate/50269)

<div class="topic-metadata">

**Author:** [@Taron\_Wright](https://forum.babylonjs.com/u/Taron_Wright)\
**Replies:** 2\
**Last updated:** [May 3, 2024, 4:52pm UTC](https://forum.babylonjs.com/t/how-to-create-multiple-instances-of-merged-meshes-that-rotate/50269 "2024-05-03T16:52:19Z")

</div>

Hi, I have an issue that I have being struggling to solve. I’ve created a small wind turbine mesh and rotation animation. I want to create multiple of these wind turbines in the scene that all rotate. From what I read i…

---

## [Rotation of the model seems restricted along horizontal axis when using ArcRotateCamera](https://forum.babylonjs.com/t/rotation-of-the-model-seems-restricted-along-horizontal-axis-when-using-arcrotatecamera/50240)

<div class="topic-metadata">

**Author:** [@Nshen](https://forum.babylonjs.com/u/Nshen)\
**Replies:** 2\
**Last updated:** [May 2, 2024, 2:00pm UTC](https://forum.babylonjs.com/t/rotation-of-the-model-seems-restricted-along-horizontal-axis-when-using-arcrotatecamera/50240 "2024-05-02T14:00:42Z")

</div>

Hi, I have a basic question on the rotation of the loaded model when using ArcRotateCamera. What I see is that the loaded model freely moves 360 degrees along the vertical axis (select model and move mouse left or righ…

---

## [Rotate axis X produces weird rotation values](https://forum.babylonjs.com/t/rotate-axis-x-produces-weird-rotation-values/49638)

<div class="topic-metadata">

**Author:** [@damil42](https://forum.babylonjs.com/u/damil42)\
**Replies:** 1\
**Last updated:** [April 15, 2024, 7:49pm UTC](https://forum.babylonjs.com/t/rotate-axis-x-produces-weird-rotation-values/49638 "2024-04-15T19:49:12Z")

</div>

The rotate method produces weird rotation values. In this example I rotate along X 90 deg // Same for global or local. group.rotate(Axis.X, Math.PI / 2, Space.Local); and this is the result: + 90 expected: x: 90 y: 0…

---

## [Align head mesh with camera rotation](https://forum.babylonjs.com/t/align-head-mesh-with-camera-rotation/49625)

<div class="topic-metadata">

**Author:** [@hmathers](https://forum.babylonjs.com/u/hmathers)\
**Replies:** 2\
**Last updated:** [April 13, 2024, 6:58pm UTC](https://forum.babylonjs.com/t/align-head-mesh-with-camera-rotation/49625 "2024-04-13T18:58:25Z")

</div>

Hello, I’ve been trying to put together a human head model that will look where the camera is pointing, and I seem to have come very close without having to pay any attention to the most confusing rotation stuff (quater…

---

## [Rotate around pivot animation](https://forum.babylonjs.com/t/rotate-around-pivot-animation/47922)

<div class="topic-metadata">

**Author:** [@MeshSlayer](https://forum.babylonjs.com/u/MeshSlayer)\
**Replies:** 5\
**Last updated:** [February 8, 2024, 2:30pm UTC](https://forum.babylonjs.com/t/rotate-around-pivot-animation/47922 "2024-02-08T14:30:24Z")

</div>

Hello community, I’m trying to create an animation to rotate an object around a specific object, I was heavily inspired by the script I found in the docs as i was able to rotate around a specific point, the animation …

---

## [Set rotation of PhysicsBody (Havok) programmatically](https://forum.babylonjs.com/t/set-rotation-of-physicsbody-havok-programmatically/47002)

<div class="topic-metadata">

**Author:** [@tkalmi](https://forum.babylonjs.com/u/tkalmi)\
**Replies:** 6\
**Last updated:** [January 11, 2024, 3:10pm UTC](https://forum.babylonjs.com/t/set-rotation-of-physicsbody-havok-programmatically/47002 "2024-01-11T15:10:40Z")

</div>

Hello! (I’m a novice when it comes to graphics programming, so please bear with me. I’m a pretty experienced web dev, but my only brush with 3d graphics is a basics course in university over 5 years ago.) I’m building …

---

## [Producing Quaternion between vectors](https://forum.babylonjs.com/t/producing-quaternion-between-vectors/46841)

<div class="topic-metadata">

**Author:** [@DavidP](https://forum.babylonjs.com/u/DavidP)\
**Replies:** 4\
**Last updated:** [January 3, 2024, 1:35am UTC](https://forum.babylonjs.com/t/producing-quaternion-between-vectors/46841 "2024-01-03T01:35:19Z")

</div>

Hello, In the example below I compute a quaternion of rotation from U vector to V vector. After that, I create a new vector U2 that is initialized to U and then rotated by the quaternion. Thus U2 should be V, but that i…

---

## [How can I rotate the fur material plain?](https://forum.babylonjs.com/t/how-can-i-rotate-the-fur-material-plain/46090)

<div class="topic-metadata">

**Author:** [@PebbleCat\_Temp](https://forum.babylonjs.com/u/PebbleCat_Temp)\
**Replies:** 1\
**Last updated:** [December 2, 2023, 1:32am UTC](https://forum.babylonjs.com/t/how-can-i-rotate-the-fur-material-plain/46090 "2023-12-02T01:32:02Z")

</div>

Hello, again, I cant create a playground recreation because I’m doing this on VS Code Studio, but I’m having trouble rotating the fur plain from the side to be flat. The code im working with is below: CreateFur(): any {…

---

## [360 degree rotationQuaternion animation?](https://forum.babylonjs.com/t/360-degree-rotationquaternion-animation/45853)

<div class="topic-metadata">

**Author:** [@MeshSlayer](https://forum.babylonjs.com/u/MeshSlayer)\
**Replies:** 3\
**Last updated:** [November 23, 2023, 7:23am UTC](https://forum.babylonjs.com/t/360-degree-rotationquaternion-animation/45853 "2023-11-23T07:23:56Z")

</div>

hello guys, I’m trying to animate a quaternion to rotate multiple times (more than 360 degrees). it doesn’t seem to work since 1 or more complete turns are the same as no turns at all and for eg 1,5 turn is the same as…

---

## [How to Rotate Mesh Along Certain Axis by Using rotationQuaternion?](https://forum.babylonjs.com/t/how-to-rotate-mesh-along-certain-axis-by-using-rotationquaternion/45514)

<div class="topic-metadata">

**Author:** [@Richardo](https://forum.babylonjs.com/u/Richardo)\
**Replies:** 4\
**Last updated:** [November 9, 2023, 2:56am UTC](https://forum.babylonjs.com/t/how-to-rotate-mesh-along-certain-axis-by-using-rotationquaternion/45514 "2023-11-09T02:56:28Z")

</div>

Hi guys, thanks for reading this! Here is a very simple playground example! I already have some basic idea about quaternion and rotation. The problem is that a quaternion is defined by q = cos(theta/2) + i \* sin(theta…

---

## [Unexpected behaviour when rotating a Mesh in World Space](https://forum.babylonjs.com/t/unexpected-behaviour-when-rotating-a-mesh-in-world-space/43298)

<div class="topic-metadata">

**Author:** [@MeshSlayer](https://forum.babylonjs.com/u/MeshSlayer)\
**Replies:** 6\
**Last updated:** [October 26, 2023, 8:48am UTC](https://forum.babylonjs.com/t/unexpected-behaviour-when-rotating-a-mesh-in-world-space/43298 "2023-10-26T08:48:20Z")

</div>

Hello Community, I attempted to rotate a mesh, either a parent or a child mesh, in World Space and noticed that mesh.rotate() was not behaving as expected. :thinking: Based on the documentation, I should be able to spe…

---

## [rotateAroundPivot() not working properly with rotated meshes](https://forum.babylonjs.com/t/rotatearoundpivot-not-working-properly-with-rotated-meshes/44210)

<div class="topic-metadata">

**Author:** [@DukeVen](https://forum.babylonjs.com/u/DukeVen)\
**Replies:** 5\
**Last updated:** [September 18, 2023, 10:03am UTC](https://forum.babylonjs.com/t/rotatearoundpivot-not-working-properly-with-rotated-meshes/44210 "2023-09-18T10:03:19Z")

</div>

Hello, I am currently using the rotateAroundPivot function from this doc https://doc.babylonjs.com/toolsAndResources/utilities/Pivot to basically rotate a mesh around a pivot just like you would do in 3ds max or in ble…

---

## [How to restore rotation after parenting?](https://forum.babylonjs.com/t/how-to-restore-rotation-after-parenting/44063)

<div class="topic-metadata">

**Author:** [@Benjythebee](https://forum.babylonjs.com/u/Benjythebee)\
**Replies:** 9\
**Last updated:** [September 16, 2023, 7:33pm UTC](https://forum.babylonjs.com/t/how-to-restore-rotation-after-parenting/44063 "2023-09-16T19:33:11Z")

</div>

Heya, I feel like this is going to be a question that might make some of you go “Again?” but I’m out of brain cells to work this out… I feel like this is a trivial thing yet I’m really struggling here. I’m parenting a …

---

## [Can't get the camera position right](https://forum.babylonjs.com/t/cant-get-the-camera-position-right/43741)

<div class="topic-metadata">

**Author:** [@addem](https://forum.babylonjs.com/u/addem)\
**Replies:** 6\
**Last updated:** [September 1, 2023, 12:16pm UTC](https://forum.babylonjs.com/t/cant-get-the-camera-position-right/43741 "2023-09-01T12:16:43Z")

</div>

I am trying to figure out why my camera and scene never quite looks how I intend for it to look. In the code below I drew three spheres at coordinates (1,0,0) (in red), and (0,1,0) (green), and (0,0,1) (blue), and then …

---

## [How do you create a polyhedron that is in specific orientation?](https://forum.babylonjs.com/t/how-do-you-create-a-polyhedron-that-is-in-specific-orientation/43720)

<div class="topic-metadata">

**Author:** [@lite](https://forum.babylonjs.com/u/lite)\
**Replies:** 1\
**Last updated:** [August 31, 2023, 11:20am UTC](https://forum.babylonjs.com/t/how-do-you-create-a-polyhedron-that-is-in-specific-orientation/43720 "2023-08-31T11:20:21Z")

</div>

Unlike a simple box mesh (which is aligned to all 3 axis), a polyhedron mesh created using the MeshBuilder does not seemed to be aligned to any axis and are in some angled orientation. This makes the polyhedron rather aw…

---

## [Camera controls rotation angles are wrong after lerping camera position](https://forum.babylonjs.com/t/camera-controls-rotation-angles-are-wrong-after-lerping-camera-position/43019)

<div class="topic-metadata">

**Author:** [@trusktr](https://forum.babylonjs.com/u/trusktr)\
**Replies:** 4\
**Last updated:** [August 17, 2023, 11:11pm UTC](https://forum.babylonjs.com/t/camera-controls-rotation-angles-are-wrong-after-lerping-camera-position/43019 "2023-08-17T23:11:04Z")

</div>

After lerping the camera to some position, then the controls are broken: Lerping breaks camera rotation control | Babylon.js Playground (babylonjs.com) After the initial animation completes, drag left/right to try to r…
