How to turn a cube to a spherec++

I am tring to make a proucedual generated planet by following this toutrile

but it’s in unity c# so I am tring to converte it so first step was to make a square that changes resoulion (number triangles) and to turn it to a sphere but I was looking on how to do these things butt I couldnot find how to do so please help me

I am not sure how experienced you are with C++ for UE4 so I’ll assume you have done a few tutorials on that…

You should use UProceduralMeshComponent in your “Planet” AActor and generate it in the AActor’s constructor.

From that point on, you should be able to find most methods corresponding to the ones used in the Unity tutorial.