# Get center point of an arc

**URL:** <https://forum.babylonjs.com/t/get-center-point-of-an-arc/63148>\
**Category:** Questions\
**Tags:** rotation\
**Created:** [April 13, 2026, 6:05pm UTC](https://forum.babylonjs.com/t/get-center-point-of-an-arc/63148 "2026-04-13T18:05:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trevor\_Orr](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/trevor_orr/32/50348_2.png) [@Trevor\_Orr](https://forum.babylonjs.com/u/Trevor_Orr)\
**Post date:** [April 13, 2026, 6:05pm UTC](https://forum.babylonjs.com/t/get-center-point-of-an-arc/63148/1 "2026-04-13T18:05:02Z")

</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 radius can change at any time.

 ![image_2026-04-13_110228232](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/4/9/4958b20f69432df6d05714d0b76886b287f0ff35.png)

---

<div class="post-metadata">

**Author:** ![HiGreg](https://avatars.discourse-cdn.com/v4/letter/h/c5a1d2/32.png) [@HiGreg](https://forum.babylonjs.com/u/HiGreg)\
**Post date:** [April 13, 2026, 7:18pm UTC](https://forum.babylonjs.com/t/get-center-point-of-an-arc/63148/2 "2026-04-13T19:18:05Z")

</div>

CGS2 functions include an options object. Set _centerMesh_ to false and the mesh won’t be moved after intersion or subtract. This should help you locate your pivot point using the build parameters.

---

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [April 13, 2026, 8:27pm UTC](https://forum.babylonjs.com/t/get-center-point-of-an-arc/63148/3 "2026-04-13T20:27:50Z")

</div>

mesh.setPivotPoint(Vector3)

or alternatively move the mesh to the offset position so the world origin (0,0,0) is where you want the pivot to be and use bakeCurrentTransforms

---

<div class="post-metadata">

**Author:** ![Trevor\_Orr](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/trevor_orr/32/50348_2.png) [@Trevor\_Orr](https://forum.babylonjs.com/u/Trevor_Orr)\
**Post date:** [April 14, 2026, 4:05pm UTC](https://forum.babylonjs.com/t/get-center-point-of-an-arc/63148/4 "2026-04-14T16:05:45Z")

</div>

I finally found a function to calculate the center of the arc and used setPivotPoint.
