Hello devs, I was wondering, how can I change 2D rotation of camera?
Thank you for respond.
Hello devs, I was wondering, how can I change 2D rotation of camera?
Thank you for respond.
Can you please explain what “2d rotation” is?
Changing rotation of camera. To rotate Z axis of camera agle.
Use RunService | Roblox Creator Documentation with a priority after the camera to rotate the camera’s CFrame by CFrame.Angles(0, 0, angle)
.
Theres an easy to use but legacy camera:SetRoll(degreesRadians)
function which does exactly this
To use degrees just simply do
camera:SetRoll(math.rad(degreesTilt))
(Just keep in mind that this is totally outdated and you should probably use a more hands on approach if youre doing this for anything even slightly important)
This works with only CameraType Scriptable, i need CameraType custom
Depending on what youre doing it might be best to just make a simple custom made camera like @nicemike40 suggested
I can explain one way to do this if you want, though it might be more effort than youre willing to put into tilting the camera depending, again, on what youre doing