Hy there
I’ve tried, to make a coin system, but armory crashes every time, the player reaches a coin.
According to the error appearing in the console, the object doesn’t support “remove”.
The Node setup has two parts. The upper part spawns a new Coin Object and adds it to the coin-object-array.
The lower node tree removes the coin object from the scene as well as from the array and it set the coins property one step higher, as soon as the ccollision object hits the coin.
Is the second image (the image of the logic node) actually the one at the logic node trait where an error has occurred?
The size of the spawning coin is 0 (invisible), and no error occurs because collision processing is not performed.
Adding correct collision processing to the node of the 2nd image gives an error like the 1st image.
And I think that the cause of the error is the [Array Remove Value] node, because the error will not occur if the [Array Remove Value] node is excluded.
I can not solve the problem because I do not know how to use the [Array Remove Value] node,If the second image is wrong, I post it because I think there might be somebody who can think of a solution to the problem by replacing it with the correct one.