Closed Humberd closed 3 years ago
Thx for reporting, it is forgotten case in ANY
conversion switch in Variant.kt
: https://github.com/utopia-rise/godot-kotlin-jvm/blob/0e6abcb3854b52da9445d00217db22938a773860/kt/godot-runtime/src/main/kotlin/godot/core/Variant.kt#L469
All pool arrays are missing here.
I'm trying to procedurally generate a mesh. There are 3 vertices and 3 colors for them. The code below throws an error. However, when I don't add
ARRAY_COLOR
it works (but without colors). I had to create asurfaceArray
helper, because due to #206 I cannot assign the value to a specific index.