I’m new to CFrames and I don’t know how could I make the camera move left and right
This is present in @RVVZ 's game Criminality, how could I achieve this effect?
I’m new to CFrames and I don’t know how could I make the camera move left and right
This is present in @RVVZ 's game Criminality, how could I achieve this effect?
Camera Shaker is an old port from a Unity addon, that covers any type of camera shaking.
EZ Camera Shake ported to Roblox – some usage information.
My modified package, EZSetUp. A 10-second setup, and you’re good to go.
Camera_Shaker.rbxm (8.2 KB)
This effect is quite complicated and includes many different movements.
You can use math.random to make an effect something like this, and then use math springs or lerp to smoothen it out like shown in the video.
You could also use trigonometry functions like sin() (use multiple of them at different speeds and magnitudes overlapping each other) to replicate this quick and unpredictable shaking movement.
In the video it looks like the former, you could do something as simple as: [in a renderstepped loop
camera.FieldOfView = Lerp(camera.FieldOfView, 70 + math.random(-10, 10), 0.2 * 60 * DT)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.