I was wondering if it is possible to rotate the player camera around the player character in the same manner as when you hold RMB and move your mouse, but through local script instead.
Although I realise that that I can just set it’s CFrame and rotation myself, but calculating the exact position for it to be same as the roblox camera might be a bit problematic, so maybe if there is a way to “simulate” the mouse input to the camera, that would be great.
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local PlayerScripts = Player:WaitForChild("PlayerScripts")
local PlayerModule = PlayerScripts:WaitForChild("PlayerModule")
local CameraInput = require(PlayerModule.CameraModule.CameraInput)
CameraInput.getRotationActivated = function()
return true
end