Hotrian / OpenVRDesktopDisplayPortal

Put your favorite Desktop Window directly into any OpenVR game!
Other
447 stars 97 forks source link

Rotating along the X axis is buggy #1

Closed Hotrian closed 7 years ago

Hotrian commented 7 years ago

Not sure why this is happening, but it is :P

I was definitely able to rotate it fully around previously without bugging it out, so I must have derped something between then and now.

Not a serious issue, but can be annoying when it doesn't want to mirror back the right way.

Hotrian commented 7 years ago

Not sure why the X Axis is acting up, the Y and Z axis seem fine.

Hotrian commented 7 years ago

This is related to Euler Angles and Gimbal Lock. Not sure how I didn't encounter this error before. I believe I've fixed this in my local version, and the fix will be in the next commit.

Unfortunately, it might break when you try to load an old profile. In that case just load an older version to get your profile info, then delete them and load up the new version and remake them. Even if there aren't errors the new version will very likely load them incorrectly (because I'm no longer using Euler Angles, and that's what's saved in your current save). Sorry for the inconvenience.