mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
viewpoint correction
This commit is contained in:
parent
e54a20ee42
commit
84cf4c0875
2 changed files with 5 additions and 3 deletions
|
@ -36,6 +36,7 @@ public class MenuScalePatch : MelonMod
|
||||||
___needsQuickmenuPositionUpdate = false;
|
___needsQuickmenuPositionUpdate = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
PlayerSetup.Instance.HandleDesktopCameraPosition(true);
|
||||||
SetMenuPosition(___quickMenu.transform, ____scaleFactor);
|
SetMenuPosition(___quickMenu.transform, ____scaleFactor);
|
||||||
___needsQuickmenuPositionUpdate = false;
|
___needsQuickmenuPositionUpdate = false;
|
||||||
}
|
}
|
||||||
|
@ -64,6 +65,7 @@ public class MenuScalePatch : MelonMod
|
||||||
{
|
{
|
||||||
if (!__state) return;
|
if (!__state) return;
|
||||||
|
|
||||||
|
PlayerSetup.Instance.HandleDesktopCameraPosition(true);
|
||||||
SetMenuPosition(__instance.transform, ___scaleFactor);
|
SetMenuPosition(__instance.transform, ___scaleFactor);
|
||||||
___needsMenuPositionUpdate = false;
|
___needsMenuPositionUpdate = false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"loaderversion": "0.5.7",
|
"loaderversion": "0.5.7",
|
||||||
"modtype": "Mod",
|
"modtype": "Mod",
|
||||||
"author": "NotAKidoS",
|
"author": "NotAKidoS",
|
||||||
"description": "Corrects MM and QM position when avatar is scaled.",
|
"description": "Corrects MM and QM position when avatar is being scaled.\n\nDesktop menus will now always follow camera while open.",
|
||||||
"searchtags": [
|
"searchtags": [
|
||||||
"menu",
|
"menu",
|
||||||
"scale",
|
"scale",
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
"requirements": [
|
"requirements": [
|
||||||
"None"
|
"None"
|
||||||
],
|
],
|
||||||
"downloadlink": "https://github.com/NotAKidOnSteam/MenuScalePatch/releases/download/r4/MenuScalePatch.dll",
|
"downloadlink": "https://github.com/NotAKidOnSteam/MenuScalePatch/releases/download/v3.0.0/MenuScalePatch.dll",
|
||||||
"sourcelink": "https://github.com/NotAKidOnSteam/MenuScalePatch/",
|
"sourcelink": "https://github.com/NotAKidOnSteam/MenuScalePatch/",
|
||||||
"changelog": "Removed collision scaling feature as it is now native.\nImplemented adjusted QM scaling for VR.\nAdded menu correction for Desktop so you can use menus while moving.",
|
"changelog": "Removed collision scaling feature as it is now native.\nAdjusted QM scaling for VR.\nAdded menu correction for Desktop so you can use menus while moving.\nImmediate viewpoint correction for Desktop during scaling.",
|
||||||
"embedcolor": "804221"
|
"embedcolor": "804221"
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue