Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Threshold for HMD Rotation. #123

Open
Guide2444 opened this issue Oct 17, 2024 · 1 comment
Open

Threshold for HMD Rotation. #123

Guide2444 opened this issue Oct 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Guide2444
Copy link

Hello! I'd like to request a feature for the camera2 mod. Whilst playing the game, I have this tendency to kind of, look slightly to the left, by about 5-10 degrees. This obviously isn't usually a problem at all, but I've also recently gotten into making short-form content for Beatsaber, and this is where I'm having a problem. When exporting a finished video, I export it vertically for mobile resolution (1080x1920, 9:16 aspect ratio), and due to this slight left head turn, all of the content is at the very right hand side of the screen due to the tight view in the middle of the recording. So, my feature request is this:

Add some kind of "Threshold" system for rotation, where, if the HMD's vertical (Z axis) rotation is within a certain threshold, the camera is either forced or optionally is at least nudged back towards facing directly forward. This system will allow me (or anyone else utilizing this feature) to still be able to look around, behind, above, and to the sides unrestricted, whilst also making the gameplay more centred on the screen. Below, I have attached a picture of the issue I was talking about before of the gameplay being at the very right hand side of the screen.

image

Notice how the "gameplay" is off centre and the right saber is barely visible compared to the left saber. Ideally, I'd love for a non-intrusive method to re-centre my camera to face forwards. Fixing this issue.

@Guide2444 Guide2444 added the enhancement New feature or request label Oct 17, 2024
@kinsi55
Copy link
Owner

kinsi55 commented Oct 17, 2024

Hi, this is already possible, it just happens to not be exposed in the ingame UI

If you edit the config file of your camera, you can use the targetRot option to offset the look direction of the camera compared to what it would normally be.

Additionally, you can use Smoothfollow > limits to constrain the range the camera can rotate if you want to do that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants