Now I know there are already posts like this but all of them had some stuff that made the camera act weird or just didnt work, atleast the ones I found
As said I was wondering how I can make camera shake for my game?
So how?
Now I know there are already posts like this but all of them had some stuff that made the camera act weird or just didnt work, atleast the ones I found
As said I was wondering how I can make camera shake for my game?
So how?
I personally would use RbxUtil’s shake module for this Shake | RbxUtil
Example of a simple camera shake using the module (code is from the website)
local priority = Enum.RenderPriority.Last.Value
local shake = Shake.new()
shake.FadeInTime = 0
shake.Frequency = 0.1
shake.Amplitude = 5
shake.RotationInfluence = Vector3.new(0.1, 0.1, 0.1)
shake:Start()
shake:BindToRenderStep(Shake.NextRenderName(), priority, function(pos, rot, isDone)
camera.CFrame *= CFrame.new(pos) * CFrame.Angles(rot.X, rot.Y, rot.Z)
end)