as picking up an object and my character take you in hand to attack
You want to make your Sprite character object pick up an item and then make it to look like Sprite holds it in his hand?
if as is done
Develop games in your browser. Powerful, performant & highly capable.
I'm sorry but I don't understand what you are trying to say. Could you please be more specific and give some more details?
for example take a sword from the floor
Allright. I think You can do this in two simple ways.
1. When your character picked up sword you can pin this sword to him
2. When sword is picked - destroy sword and change your character animation from default to holding sword - but this will need to have a different animation presenting your character and sword
OPTION 2 is good BUT I THINK IT IS MORE CONVENIENT BUT WOULD HAVE THE OPTION 1 ENCOURAGE THAT SEPARATE THE SWORD thanks