Hey, I want to make a script where a certain bone responsible for head rotation will be rotating as the camera (head following camera movements). But I also want to make the movement kind of limited so the head doesn't fully turn around! Has anybody ever worked on simmilar thing or can help me?
||I also want other players on server to see the movement, not only a local function||
#Head movement script
1 messages · Page 1 of 1 (latest)
You’ll have to use the client side to get the camera informations and the server to apply the movement of the head
okay! ty
I know it’s not much, sorry
it's something! I'm a super newbie so that's a good clue at least haha
Also, I’d send the camera’s CFrame with a remote event and set the Head’s CFrame to the player’s camera’s CFrame
Okie, I'll try that out
Join my Discord Server and talk to me! https://discord.gg/5kTK7Du
TIMESTAMPS:
0:00 - Intro
1:10 - Initializing HeadMovement Script
2:20 - Observing Neck Motor6D Of Character
3:18 - Run Service Function
4:20 - Testing neck.C0.Y Values
5:42 - CFrame.Angles()
7:20 - Getting Camera Direction LookVector
10:00 - Using Trigonmetry to Get Proper Angles...
watch this