# Updating cone height and diameter

**URL:** <https://forum.babylonjs.com/t/updating-cone-height-and-diameter/14532>\
**Category:** Questions\
**Created:** [September 29, 2020, 6:08pm UTC](https://forum.babylonjs.com/t/updating-cone-height-and-diameter/14532 "2020-09-29T18:08:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TechDreamer2](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@TechDreamer2](https://forum.babylonjs.com/u/TechDreamer2)\
**Post date:** [September 29, 2020, 6:08pm UTC](https://forum.babylonjs.com/t/updating-cone-height-and-diameter/14532/1 "2020-09-29T18:08:26Z")

</div>

What is the best way to update height and diameterBottom of a cone? I don’t see a property for that.

Example: [Babylon.js Playground](https://playground.babylonjs.com/#UPCCKY)

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [September 29, 2020, 6:45pm UTC](https://forum.babylonjs.com/t/updating-cone-height-and-diameter/14532/2 "2020-09-29T18:45:43Z")

</div>

You can scale it on x or y axis?

---

<div class="post-metadata">

**Author:** ![TechDreamer2](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@TechDreamer2](https://forum.babylonjs.com/u/TechDreamer2)\
**Post date:** [September 29, 2020, 7:44pm UTC](https://forum.babylonjs.com/t/updating-cone-height-and-diameter/14532/3 "2020-09-29T19:44:16Z")

</div>

Not really, scaling introduces distortions depending on rotation: [https://playground.babylonjs.com/#UPCCKY#1](https://playground.babylonjs.com/#UPCCKY#1). Unless I misunderstood your comment.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [September 29, 2020, 7:47pm UTC](https://forum.babylonjs.com/t/updating-cone-height-and-diameter/14532/4 "2020-09-29T19:47:22Z")

</div>

better?  
[https://playground.babylonjs.com/#UPCCKY#2](https://playground.babylonjs.com/#UPCCKY#2)

---

<div class="post-metadata">

**Author:** ![TechDreamer2](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@TechDreamer2](https://forum.babylonjs.com/u/TechDreamer2)\
**Post date:** [September 29, 2020, 7:50pm UTC](https://forum.babylonjs.com/t/updating-cone-height-and-diameter/14532/5 "2020-09-29T19:50:27Z")

</div>

Got it. Scale x and z for diameter and scale y for height.
