I created this Camera Shake effect when the music intensifies or hits a beat drop. Its pretty cool for vibe games. It uses PlaybackLoudness and an arbitrary peak value so its not the most accurate, but works well for lofi music!
Any form of feedback is appreciated. (Sorry for the bad video quality)
I would rather have the camera go into the player rather than an offset position. Maybe by changing the FieldOfView? It’s a good system though! Great work!
The camera shake is client sided. I just lerp the CameraOffset according to the loudness and of the music if the PlaybackLoudness exceeds a certain point.
It is very smooth and doesn’t shake to unwanted parts of the song, which is always the problem I used to have.
However, since you’re using the CameraOffset, it looks a little off and is somewhat violent.
Most vibe games will use FieldOfView to create the effect. And since you’ve nailed the smoothness of it, I think if you just changed the parameters to FOV, it would be great!
Contrary to the other replies, camera shake tied to the CameraOffset can be good in a number of situations. Many games use CameraOffset to simulate a feeling of movement. You might want to randomize the direction of the offset so it doesn’t always move to the bottom left.