…In such a way that the object moves according to animation. For example, I have an object called Hand that is attached to a player arm, and positioned where it should be. When I play the animation, the arm moves, but Hand does not. What am I doing wrong? And is there a way to script the behavior I want?
Just make the hand a child object of the arm.
I did. The problem is that the child object will not move with the parent.
OK, prob solved. The reason nothing was happening is because I had attached the Hand to the Arm’s Mesh, instead of the Bone. Everything works fine now.