Updating cone height and diameter

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

You can scale it on x or y axis?

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

better?
https://playground.babylonjs.com/#UPCCKY#2

1 Like

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

1 Like