I was excited to see the behavior called “Sticker” because I had an idea and need to have the function of sprites sticking to other sprites. But once I installed it, and added it to the sprite, nothing happened.
It has no options to adjust, and I can’t find documentation on it anywhere.
Well I guess that what you want can be done with Link two objects and then position the movable object to the desire parent sprite.
Like a player and a spear, when the player run or walk the spear is linked to then positioned to player.pointX(“Spear”),player.pointY(“Spear”),
but when player attack throws the spear to an enemy so in that case you can link the spear and the enemy and set the spear position to enemy.pointX(“SpearStuck”),enemy.point(“SpearStuck”)
Then do some animation for the enemy to die, and unlink the spear. until the player collides again with it.
Hope this make sense sorry I no English native.
Hi, somehow I also was not able to make the “stick to another object” behavior work. There is another behavior called “MagneticEffect” that could be useful. As the name says it works like a magnet. If that’s not what you want, you need to use “link two objects” after both sprites collide as @UlisesFreitas has suggested.