How to make R6 body-to-camera movement?

I want to make it so that the body of a player rotates to the camera’s rotation, like in many FPS games.

Here’s an example of I want:

Blue arrow → Camera direction
Orange blocks → Character

I am not familiar in CFrames and like a lotta of that advanced math yet. Also, I want to have a limit from how far their character looks up and down.

I’ve looked around the DevForum, and some do not have what I want, uses R15, or it doesn’t make sense at all.

Realism does something similar and is R6 compatible, it might be worth looking at:

If you go in the code you can disable the other features (I recall that it’s pretty modular).

Generally, the way you do this is by changing the motor6 joints’ C1 cframe on each client, then send the looking angles from the client to the other clients so that the other clients can set the other character’s C1 too.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.