Camera Shaker Module

Hello everybody! Wanted to share my camera shaker module I made rq.
This was made very quickly and so may be a bit buggy.

Please keep in mind this is my first DevForum post so I apologize if some things or formatted incorrectly.

To get started simply require the module and create a new shaker instance.
To do this all you have to do is :
local CameraShaker = require(wherever you have your shaker stored)
local NewShake = CameraShaker.new(PositionInfluence, RotationInfluence, Speed, Aggression)
NewShake:StartShake()

The actual model goes a bit more into detail but you should get the gist of it by now.

This camera shaker uses a sin wave opposed to sleitnick’s camera shaker port which uses Perlin noise for the shaking.

I may implement other forms of shaking in the future although I don’t see much of a point but I’ll probably do some testing with my ideas and see if they work well.

3 Likes