Hello there, I would like to create some sort of camera shake for my bodycam game and I’m looking for advice on how to do it somewhat like Hellmet has done. I am working on a bodycam shooter RP game and I would like to keep the camera still while accessing the arms or the mouse. It’s a problem for me since the mouse stays still when camera shake happens and I don’t know if there is a way to move the mouse randomly around. I would like to get some examples if anyone has done it within their code and good day.
You can’t ‘move’ a person’s mouse. The only thing that can ‘move’ the mouse is the hardware itself, even that is beyond Roblox’s reach. I know nothing about camera CFrames though.
You basically have 3 choices for mouse movement control : free movement, lock center, and lock position.
UserInputService.MouseBehavior
If you want to create cframe movement, using TweenService is a good start.
The camera (locally) is workspace.CurrentCamera.
For precise camera control, you can use BindToRenderStep, and Lerp.
I’ll link Camera as well.
I see, however that is not the solution i was looking for. I was possibly thinking of making the gun shoot forward and not towards mouse pos and then just add variation to the arms for recoil.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.