I came across this page https://docs.godotengine.org/en/latest/tutorials/3d/procedural_geometry/arraymesh.html
In this line (underlined in blue). But is it a cast of a variable? Or what?
i and rings are integers.
float(i) converts i to float, so that float(i) / rings will be performed using floating point division rather than integer division.
DaveTheCoder But it doesn't work for me...
Compare that code to the code in your first post. Do you see the difference?
DaveTheCoder Right, wrong me