i know mouse.Hit.Position.X relates to Vector3
and mouse.Hit.X is related to CFrame in terms of the PointToObjectSpace
but i just dont understand what im doing wrong.
rightshoulder.C0 = CFrame.new(rightshoulder.C0.Position):Orthonormalize() * CFrame.Angles(0,math.deg(mouseHit.X/-800),0,0):PointToWorldSpace(CFrame.new(0,mouseHit.X,0))
rightshoulder.C1 = CFrame.new(rightshoulder.C1.Position):Orthonormalize() * CFrame.Angles(math.deg(mouseHit.Y/800),0,0):PointToWorldSpace(CFrame.new(mouseHit.Y,0,0))
the problem is occuring here:
:PointToWorldSpace(CFrame.new(0,mouseHit.X,0))
:PointToWorldSpace(CFrame.new(mouseHit.Y,0,0))