How do I recreate the swaying effect present in DOOM when moving the camera? I’ve been trying to attempt this for a game of my own, DOOM inspired, with how the UI bobs up and down when moving… Is there any math required to do this?
I’ve seen @PoptartNoahh 's RooM ★ game have this feature as of now, and I’ve been scratching my head on how to do it myself for a few weeks now. Here’s a video of what I mean . You can see the gun at the bottom center swaying around as the character moves. Any ideas on how to achieve this? Thanks a ton!