Hello my fellas on Dev Forum!
I saw some games that players can move their camera with “<” and “>”, like Obby creator, tower creator and more.
My question is how can I make that?
I’m trying to do that to my simple obby in my game, that’s going to be needed to help PC users.
1 Like
You could do so by unbinding the default arrow-key camera actions with ContextActionService:UnbindAction("RbxCameraKeypress")
How to stop arrow keys from interfering with camera? very useful post to read through.
then binding the comma Enum.KeyCode.Comma
and period Enum.KeyCode.Period
keys to custom rotate left/rotate right handlers, e.g.:
How do I allow people to centre their camera using period and comma additionally, on each RenderStepped
nudging workspace.CurrentCamera.CFrame
with CFrame.Angles
around the Y-axis, read over; Help with using RenderStepped for Camera Movement
2 Likes
I discovered that the “<” and “>” to move the camera was in the old Player module, so I found a model that its the old player module and I put on my game! (I found the model in the post Camera Alignment Keys WITHOUT Forking PlayerModule )
Edit: I entered the How do I allow people to centre their camera using period and comma post, got to the answer, got into the link that the person called @EmbatTheHybrid said, and there is the link!
1 Like
system
(system)
Closed
May 21, 2025, 1:37pm
4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.