Second sprite not visible [Solved]

Hi there!

I basically followed the war battles tutorial to build a map with a player on it and adjusted the rest of the tutorial to my needs. Now I would like to add a second sprite to the player to indicate that the player it holding an item.
When I add a second sprite (item) to the player node, in the same way as the sprite was added, the item is not drawn. I can add the sprite as another game object to my main collection, but when I move it to the player node it’s invisible/ not drawn again. It seems that I am missing something pretty important. Maybe someone can point me to the correct direction :slight_smile:
I already checked the tutorials, manuals, api reference and the forum, but I could not really find an example for something like a player holding an item.

Thanks in advance!

Check the Z position of the new sprite. Note that its Z position gets added to the position of its parent game object, so if the game object has a Z position 0.75 for example and the sprite has the same Z, the resulting position is 1.5, which is not rendered, since by default only things in the range from -1 to 1 are rendered.

1 Like

Oh, they are added. Thanks a lot. It’s working now :slight_smile:

1 Like