#I’m trying to make a bodycam type game but I’m having issues with the camera movements not going up
43 messages · Page 1 of 1 (latest)
when using lockcenter on mousebehaviour
sems to only lock in 1 vector
ye now you need to change relativemousex to use delta.x
local mX = delta.X
local mY = delta.Y
no, yaw = yaw - (delta.X * yawSpeedFactor)
god ur a life saver
didnt think about using delta
ty
local relativeMouseX = (mX - (screenWidth / 2)) / (screenWidth / 2)
local relativeMouseY = (mY - (screenHeight / 2)) / (screenHeight / 2)```
this is not mouse delta, this is absolute position in screen space
and running delta through that is weird
have 1 more issue tho
i have 1 script
that when turning the visual
it titls the camera
and with this one script we just fixed
casues the camera to stay rotated
also when pressing esc and and resuming it stops all camera movements
@gentle sable
maybe use this instead of cframe.angles https://create.roblox.com/docs/reference/engine/datatypes/CFrame#fromEulerAnglesYXZ idk about the other stuff
or this one https://create.roblox.com/docs/reference/engine/datatypes/CFrame#fromOrientation same thing
@gentle sable yo can u help out with my shits
idk
yh pretty much fixed it
ty
imma make a function that when pressing esc it setups
the mousebehavior to default then back to locked
@gentle sable1 more thing
tips on how to make it seem more like a bodycam?>
idk postprocessing like screenfx and vcr scanlines
and like camera signal
battery icon etc
headbobbing, camshake, etc
idk there's a lot you can do with cameras
main thing i was tryna do is add a lag to the viewmodel
but the issue is as the parent of the viewmodel is the camera
its automatically locked to its view
any fix for that?
tween
cant because viewmodels locked on camera direction
It’s just my camera ain’t lerping yo