I am following a tutorial where GDScript is being used and I try to follow the tutorial while converting the code to C#. In GDScript you can easily get the height of a mesh by just this:
meshInstance3D.mesh.height
but in C# the same thing does not work. Mesh does not contain anything called Height and i was unable to find a solution for a while now even with quite a bit of research. Any help is appreciated. Thank you in advance.
What kind of mesh is it? Since the base abstract class of Mesh does not include the size indeed, but if it’s, for example, a BoxMesh, you can get it with the Size property.