I’m trying to make the uppertorso rotate with the mouse/camera up and down.
I don’t know how to achieve it. I only know how to make it rotate all axis.
Sorry if this isn’t that much information about what I’m trying to achieve.
I’m trying to make the uppertorso rotate with the mouse/camera up and down.
I don’t know how to achieve it. I only know how to make it rotate all axis.
Sorry if this isn’t that much information about what I’m trying to achieve.
Do you have any progress doing this? If you did, you should be able to make it only function for the Y mouse delta.
Call rotateTorso on Runservice.Stepped
and give it the correct Motor6D
.
local cam = workspace.CurrentCamera
local function rotateTorso(joint)
joint.Transform = CFrame.Angles(math.asin(cam.CFrame.LookVector.Y), 0, 0)*joint.Transform
end
Okay
Are you looking for this