Unsure on how to fix hands to a specific part

Im trying to make a trolley that is fixed to the characters hands so it looks like the player is holding the trolley and I’ve made a simple animation however it doesn’t work with other characters as the hands are either too high or too low and I was wondering if there’s a different way I could go about keeping the characters hands attached to the trolleys handle bars

The photo below shows what I’ve been able to do with my simple animation but is there a way to do this differently such as somehow welding the hands to the trolleys handle bars?

1 Like

We need to see the script you are using to be able to figure out how you are doing it.
R6 and R15 rigs are different so there may be some things you need to consider.

The Attachment’s in each hand’s Position can be used as the location to align with Attachments you place in the trolley handle.

1 Like
local basketmodel = script.BasketModel:Clone()
		basketmodel.Parent = workspace
		
		local humanoid = Player.Character.Humanoid
		local animator = humanoid:WaitForChild("Animator")

		local holdAnimation = Instance.new("Animation")
		holdAnimation.AnimationId = "rbxassetid://75576817871751"

		local holdAnimationTrack = animator:LoadAnimation(holdAnimation)

		holdAnimationTrack:Play()
		
		RunService.RenderStepped:Connect(function()
			basketmodel.PrimaryPart.CFrame = CFrame.new(Player.Character.HumanoidRootPart.Position.X, basketmodel.PrimaryPart.Position.Y, Player.Character.HumanoidRootPart.Position.Z)
			basketmodel.PrimaryPart.CFrame = basketmodel.PrimaryPart.CFrame * (CFrame.Angles(math.rad(Player.Character.HumanoidRootPart.Orientation.X), math.rad(Player.Character.HumanoidRootPart.Orientation.Y), math.rad(Player.Character.HumanoidRootPart.Orientation.Z)) * CFrame.Angles(0, 1.5708, 0))
		end)

This is the current script im using to set the position of the trolley, would there be a way to move the attachments on the hands to the attachments on the trolley handle?

1 Like

I’m not exactly sure how, but you’re probably going to need to do some math to be able to orient the arms properly.

Right now you’re welding the trolley to the HumanoidRootPart and the animation is moving the arms to a ‘standard’ Position and Orientation. Different arms will be located at different Positions in relation to where the trolley handle is so it’s going to be more difficult. You may need an animator’s help on the forum to be able to figure this out.

1 Like