Hello there.
I'm trying out Motor6Ds to make my NPC's Head face towards me.
Here is my script:
local runService = game:GetService("RunService")
local NPC = script.Parent
function move()
local neck = NPC.Head.Neck -- 'Neck' is a Motor6D
local target = workspace.NoBootAvailable.Head
local lookAt = CFrame.new(neck.C1.p, target.CFrame.p)
neck.C1 = lookAt
end
runService:BindToRenderStep(move)
The problem is that the NPC's Head wont face towards me. Is there any reason why?
