Label not adding in physics editor for phaser 3 with matter js #6059
-
I was using phaser 3 with matter js and physics editor to make a body for my tree. I gave the label in the textbox as tree, and the json confirms it. But using the collisionactive event in matter, the tree has a label of '' , empty. Why so? At the moment I just used the label as empty to check it, but I would like to give it a proper label. Adding |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Just inspected the json and found that there are 2 label properties:
After making the second label(the one in the fixtures array) to tree, it worked! |
Beta Was this translation helpful? Give feedback.
Just inspected the json and found that there are 2 label properties: