Animate Diameter of a Sphere

Hallo,

I just started with babylon.js; sorry for a very simple question:
I would like to animate the diameter of a sphere but somehow it does not work…:

https://playground.babylonjs.com/#7V0Y1I#704

What’s my mistake…

Many thanks in advance
Andreas

Welcome aboard!

You can’t easily modify the vertices themselves once the sphere is created, but you can modify the scaling of the mesh:

https://playground.babylonjs.com/#7V0Y1I#705

2 Likes

Many thanks Evgeni!