Title, currently working on a helmet cam system and right now when the camera is set to scriptable, it won’t let me move the camera around as if you could if you set it to first person lock. (Yes I’ve also tried locking the mouse using UserInputService). Any ideas?
Send me the code you’re using with the camera. I might have an idea, Idk how your stuff works though.
There isn’t really any ‘code’. Currently it’s just setting the Camera to Scriptable and putting it’s CFrame to an Attachment with RenderStepped. What was your idea?
Same idea as you, using Render Stepped. Try seeing if you can do anything with the players mouse.
I mean, capturing their mouse and using the mouses position on the screen to determine the camera position.
this is as far as I got, try messing around with this, LocalScript in PlayerStarterScripts
local player = ps.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local human = char:FindFirstChildOfClass("Humanoid")
local Camera = workspace.CurrentCamera
local rs = game:GetService("RunService")
local mouse = player:GetMouse()
local uis = game:GetService("UserInputService")
Camera.CameraType = Enum.CameraType.Scriptable
mouse.Move:Connect(function()
Camera.CFrame = CFrame.lookAt(char.PrimaryPart.Position, mouse.Hit.Position)
end)
Unfortunately, this doesn’t really create the effect I need.
It seemingly interferes with the mosue being locked to the center.
Found a personal fix for it, modified the base camera module that ROBLOX inserts.