Introducing Camera Toggle

This is a really good feature, Roblox! Hopefully this replaces shift lock in the future, because it looks smooooth.

1 Like

But the shift lock let the player Rotate depending on the camera position and moving camera without holding right click, which hasn’t the same functionality with the toggle camera (don’t affect the player).
And they shouldn’t remove the shift, because it’s helpful for parkour players.

1 Like

“TransparencyController:168: max must be greater than min” is flooding my error log too.

4 Likes

Honestly i think this would be useful for people who are using mouse pads, and that’s great as i had troubles in the beginning since i didn’t own a mouse with my new laptop, and sometimes i might not be using a mouse. Sooo i think its great :+1:

1 Like

This will be a great feature, however, I would the following properties to make this really useful:

  • Camera Offset
  • Focus Offset

Focus offset is the local X/Y/Z offset from the character’s head.
For example, if:

-- wherever this property may be, camera, player, etc
camera.FocusOffset = Vector3.new(3, 0, 0) -- Shifts the focus to the right side of the player's head

Camera offset on the other hand defines the Positional offset of the camera, relative to the player’s character.
For example:

camera.Offset = Vector3.new(0, 2, -10) -- Positions the camera 2 studs above the character's head, and 10 studs behind the character.

The combined offsets would create a CFrame similar to this:

local headCF = character.Head.CFrame
local focusCF = headCF * CFrame.new(3, 0 ,0)
local positionCF = headCF * CFrame.new(0, 2, -10)

camera.CFrame = CFrame.new( positionCF.p, focusCF.p )

Obviously accounting for the rotation of the camera.

This would allow developers a lot more flexibility in creating locked mouse camera systems that will fit a variety of scenarios.

2 Likes

Camera Toggle Review

I think that this is a really great feature for people who really need it. I would like to make some comments regarding the efficiency of this feature and suggestions.

I first tried this feature out in a game called KAT by @Fierzaa. As you can see in the image below, the point that the camera rotates around is always placed in the very center of your screen, and usually the crosshair is hidden on your character. This presents multiple challenges when playing games, such as KAT, that require some aim.


An image of the crosshair placement in-game.

I think being able to choose where the crosshair/cursor is placed would be a tremendous feature to add. So far I really like it, and I can’t wait to be able to see you guys improve this feature as time goes on.

4 Likes

I believe this update has broken vehicle seats. I am playing on an ipad pro, and recently, an override has been placed stopping me from looking around while driving.

The issue you’re describing sounds like this:

3 Likes

yes, it’s that glitch, thanks for letting me know. Know when it’ll be fixed?

That question is probably more appropriate for a Roblox engineer like the one that replied to the topic I linked, I don’t work there.

I like this feature, thank you for continuing to improve our gameplay. :shamrock:

1 Like

This is useful on so many levels, PC users no longer have to hold right click and laptop users no longer have to put multiple fingers on the mouse pad to move their camera!
Doing anything on Roblox is going to be leagues easier now; thanks for this!

Once it gets fully added, will it be possible to change the key for toggling in the menu or by a script? feel like using mouse3 would be more useful and you could use both the common hold mouse2 to move camera around AND the new press mouse3 to move camera around, then press again to stop movement at the same time. Also, I think it would break less games that use right click for aiming a gun or for interacting with menus, etc.

1 Like

This works wonderfully! The only thing I would point out is that after you or whenever your camera is in the CameraToggle option (and I don’t know if this is on purpose) but you won’t be able to shift lock anymore, your camera gets moved to the right shoulder but the character does not move with the movement of the camera.

Another bug is that if you leave the option of CameraToggle on and you leave the game and join a game with CameraToggle disabled it will turn your camera mode into UserChoice, which whenever you have a different camera like a cinematic camera will break your camera and make you only able to look at the cinematic camera, meaning that you can’t see your character but you see whatever the camera is seeing, this gets fixed whenever you disable UserChoice but it should get put to Default in this case.

2 Likes

Neat, breaks shift mouse lock though.

1 Like

Any way to modify the offset when toggling thru scripts?

Best update! Keep it up Roblox staffs! :sparkling_heart:

What is RMB? I’ve never seen this button.

It means Right Mouse Button.

7 Likes

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