kinsi55 / CS_BeatSaber_Camera2

Adds a lot of options / tools for creating more advanced desktop viewing experiences with multiple camera angles and much more in Beat Saber
MIT License
123 stars 17 forks source link

viewRect's x offset is forced to a negative number relative to the width's value #92

Closed TheBlackParrot closed 1 year ago

TheBlackParrot commented 1 year ago

Trying to offset my first person view to a different position and cam2 is changing that value relative to what i set for the width value. If I want

  "viewRect": {
    "x": 0.3,
    "y": 0.0,
    "width": 1.5,
    "height": 1.0,
    "locked": false
  },

cam2 forces it to

  "viewRect": {
    "x": -0.5,
    "y": 0.0,
    "width": 1.5,
    "height": 1.0,
    "locked": false
  },

upon reload / game restart.

kinsi55 commented 1 year ago

This is actually intended to prevent people from accidently moving the camera completely offscreen and wondering where it went

Altho the math to achieve that might not be ideal

TheBlackParrot commented 1 year ago

Completely took those lines out and built it myself tonight, stuff is positioning how I expect it to now.