Hello, I am trying to make my zombie walking animation and I am stuck on how to rotate it smoothly. I don't know a lot of math because I'm just going into high school. Here is what I was thinking about doing.
local zombie = script.Parent
local leftArm = zombie:WaitForChild("Left Arm")
local rightArm = zombie:WaitForChild("Right Arm")
local leftLeg = zombie:WaitForChild("Left Leg")
local rightLeg = zombie:WaitForChild("Right Leg")
local function Animate()
for i = 1, 45 do
leftArm.CFrame = leftArm.CFrame * CFrame.Angles(math.cos(math.rad(i)), 0, 0)
end
end
Animate()
I want to know how to do something like this smoothly and not in an instant. I have tried adjusting the step in the forloop but that didn't work. So can someone tell me how I could create a cool looking animation.

1 comment
thanks