Page 1 of 1

How do I use this pin behaviour?

PostPosted: Thu Apr 20, 2017 5:39 pm
by zeneizel
I'm tring to make other sprite always stick to the main sprite. in this case I try to put the pin behavior:
Everytick > Sprite 2 pin pin to sprite 1(Position and angle only)

but it's still doesnt work, the sprite 2 keep stay at one place and never follow the sprite 1.
so how do i do that?
infact did i use the correct behavior to this?

note: Sprite 1 and 2 are not in the same layer.

Re: How do I use this pin behaviour?

PostPosted: Thu Apr 20, 2017 5:55 pm
by mekonbekon
First move sprite 2 to sprite 1 so that it is in the correct position.
Then pin sprite 2 to sprite 1.

You only need to do this once, not every tick - currently you keep pinning sprite 2 to sprite 1 from its current position continuously so it stays where it is :)

Re: How do I use this pin behaviour?

PostPosted: Thu Apr 20, 2017 6:21 pm
by zeneizel
wtf, just like that? Lol!
Thank you sir! It's work now

Re: How do I use this pin behaviour?

PostPosted: Thu Apr 20, 2017 6:25 pm
by mekonbekon
Glad to be of service ;)