Aha, that worked, thank you to both of you! atttributes.put("dist", 0f) worked for me. I’ll probably stick to the first method, because the second method produces an error if I try to initialize a float value.
Aha, that worked, thank you to both of you! atttributes.put("dist", 0f) worked for me. I’ll probably stick to the first method, because the second method produces an error if I try to initialize a float value.