In the game there is a character who is throwing objects, I can’t figure out how I can make his arm the slingshot and how to make him move back once he has thrown an object.
I feel like you didn’t give a lot of information, but if you thought about waiting for the player to swing his arm and Then fire a ball, you can simply delay it by the time of the animation (Either by using coroutine, or invoke).
After that simply apply force to your character in the -z axis (considering he’s facing the z axis) and put another ball (or whatever he’s throwing) in his hand. Instantiate is a bit costly method, so I wouldn’t advise it for the final step. Use invoke only after the delay of swinging. To make the player “hold” the object before swinging, maybe you could just turn the mash off/on depending when you want the object to appear in his hand.