Hello. So I guess this is a basic stuff but somehow can't manage to make it work.
I have a player box and a player skin set to player box on every tick. This works great for my player but when it comes to enemies, since they're clone of eachothe, the set position only works for the very first enemybox and the other ones remain invisible since they have no skin attached.
How can I attach a skin to an enemy box so it shows up in every enemybox clone?
If I understand what you are trying to do to. You can do it like this.
Since you always have an EnemyBox and a Skin for each enemy. You make a variable in you Skin object called "Enemy_UID" and here you store the Enemybox.UID.
Every tick
For Each EnemyBox
Pick EnemySkin.Enemybox_UID = EnemyBox.UID
---> Set Enemyskin.X/Y = Enemybox.X/Y
However the Pin behaviour should be able to do the same, using a similar setup, you just have to be aware that if you need to pin more objects together than 2 you always have to pin to the same main object or you will get "ghost trails" or what to call it.
So:
Pin -> Main <- Pin (That's fine)
Main <- Pin <- Pin (Last object create ghost trails)
However this might be true for every tick positioning as well. I cant remember. But anyway only important if you pin more than 2 objects together.