mirror of
https://github.com/Raicuparta/nomai-vr.git
synced 2025-12-11 20:15:08 +01:00
Fix handheld tools (#481)
* Removed unused colliders from handheld tools to prevent the player from flying around in certain places * Bump version
This commit is contained in:
parent
0259bd184c
commit
b07f66f354
@ -69,7 +69,7 @@ namespace NomaiVR
|
||||
if (nextState == buttonState) return;
|
||||
if (previousState != null && previousState != buttonState) return;
|
||||
|
||||
collider.enabled = nextState != ButtonState.Disabled;
|
||||
if(collider != null) collider.enabled = nextState != ButtonState.Disabled;
|
||||
switch (nextState)
|
||||
{
|
||||
case ButtonState.Disabled:
|
||||
|
||||
@ -24,6 +24,7 @@ namespace NomaiVR.ReusableBehaviours
|
||||
{
|
||||
interactRadius = localSphereCollider.radius;
|
||||
interactOffset = localSphereCollider.center;
|
||||
Destroy(localSphereCollider);
|
||||
}
|
||||
|
||||
ResetInputs();
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
"title": "Before playing NomaiVR, some information:",
|
||||
"body": "- Click the NomaiVR readme button in the Mod Manager for information about troubleshooting, requirements, performance, how to uninstall, etc.\n\n- Some VR controllers will have missing icons. Message us if you want to help us add icons for these devices.\n\n- If you have the game on Steam:\n--- Right-click Outer Wilds on your Steam library\n--- Select 'Properties...'\n--- Disable 'Use Desktop Game Theatre.'"
|
||||
},
|
||||
"version": "2.4.1",
|
||||
"version": "2.4.2",
|
||||
"owmlVersion": "2.1.0",
|
||||
"requireVR": true
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user