- What do you want to achieve?
Here the arms and head move together, without disrupting other animations / movement, as well as the musket moving well relative to the hands:
-
What is the issue?
When trying to replicate this, the animation interrupts the movement causing it to be offset at different variables:
This causes the animation to be off ruining the whole affect
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I’ve tried multiple code samples, here are examples
if character.Torso:FindFirstChild("Right Shoulder") then
character.Torso["Right Shoulder"].C0 = character.Torso["Right Shoulder"].C0:Lerp(CFrame.new(1, .65, 0) * CFrame.Angles(-math.asin((m.Origin.p - m.Hit.p).unit.y), 1.55, 0, 0) , 0.1)
end
-character.Torso["Right Shoulder"].C0 = (character.Torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, -rightZ)) * CFrame.Angles(0, 0, math.asin((mouse.Hit.p - mouse.Origin.p).unit.y))
--rC0 = rArmOffset * CFrame.Angles(0,0,math.asin(hum_vector.y)*1.25) * CFrame.Angles(0,0,0)
--RarmAnim = tween_s:Create(rShoulder, arm_tween, {C0 = rC0})