pick up sprite in hands of character
Hi,
I have an object on the ground(coin sprite). I have animation of the sprite bending down to pick it up. I need to make sure the coin sprite stays at the level of the hands.
This is 2D and the hands are down in the frames. What is the best way to set the timing with the animation. It's a 24 frame animation. In SpriteKit for iOS I used a move over time code block. Is there something like this in Unity? Or is there a way to tell what frame index the animation is on at run-time and base the Y index on that?
Also, should I make the sprite a child at runtime or just an offset of the main character sprites transform?
Any advice is appreciated. Nick
Your answer
Follow this Question
Related Questions
Character on moving platform with Interpolation 1 Answer
Built game doesn't work as the game preview 0 Answers
If player hits certain X value in opposition to Camera, shift camera question. 0 Answers
2D c# player Controller issues,2D c# player Controller issue 0 Answers
How can I make a 200×100 grid? 0 Answers