Head Movement with Motor6D (?)
Asked by
5 years ago Edited 5 years ago
So, i recently was testing out Motor6D's, but i had a lot of problems with it, i'm trying to make a head movement, but i don't know what's wrong with it
This is a LocalScript on StarterCharacterScripts
01 | local Plr = game:GetService( "Players" ).LocalPlayer |
02 | local Mouse = Plr:GetMouse() |
03 | local Head = script.Parent.Head |
06 | local Offset = Neck.C 1. Position |
10 | local CF = CFrame.new(Neck.C 1. Position, Mouse.Hit.Position) - Neck.C 1. Position + Offset |
This is what happens when i play
https://i.gyazo.com/218725cd98d04cf8eb9922c2c6230639