You would have to know the exact number of pixels from the center of the actor to its hand. You would also have to constrain two real attributes to the actors X and Y coordinates( call them PlayerX and PlayerY). Then, in the weapon actor, Constrain self.position.X to PlayerX + (distance from player's center to hand) and constrain self.position.Y to the height of the hand.
Comments