I want my skinned mesh character’s spine bone to rotate in proportion to how much the player is looking up or down. To do this with normal characters it usually involves CFrame–so how would you go about doing it with bones and their orientation? I also do not think doing this on the client would replicate to the server, so any ideas on that would also be great.
I am not asking for an entire script since that would be ridiculous, but some ideas would be super helpful!
Was able to find a simpler solution. Here’s the code in case anyone comes across a similar problem.
local runservice = game:GetService("RunService")
local player = game:GetService("Players").LocalPlayer
local cam = workspace.CurrentCamera
local bone = player.Character.HumanoidRootPart.Bip001['Bip001 Pelvis']['Bip001 Spine']['Bip001 Spine1']
local camPos = Vector3.new(0,0,180 - (cam.CFrame:ToOrientation() * 30))
bone.Orientation = camPos