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

Exiting a vehicle triggers sneak mode #94

Open
matejdro opened this issue May 30, 2021 · 8 comments
Open

Exiting a vehicle triggers sneak mode #94

matejdro opened this issue May 30, 2021 · 8 comments

Comments

@matejdro
Copy link

  1. Enter minecart
  2. Press sneak button (simulating shift) on the VR controller
  3. You will exit the minecart BUT you will also start sneaking

I guess sneak mode should only start when player is not in a vehicle while pressing sneak button?

@Techjar
Copy link
Collaborator

Techjar commented May 30, 2021

I'm pretty sure this is vanilla behavior.

@matejdro
Copy link
Author

matejdro commented May 30, 2021

Not really. With vanilla, you have to HOLD down the key to sneak, so if you sneak for half a second while exiting a vehicle, it does not cause any problems.

But with Vivecraft, sneaking is a toggle, which is way more annoying. If you just want to exit minecarts.

@Techjar
Copy link
Collaborator

Techjar commented May 30, 2021

You can make it not a toggle if you like, that's just our default bindings.

@matejdro
Copy link
Author

I understand. But toggle is not a problem for me in general. What is a problem for me is "Toggle while in a vehicle", hence this issue report.

@Techjar
Copy link
Collaborator

Techjar commented May 30, 2021

The toggle is handled outside of Vivecraft code so there's not really any way to fix it.

@matejdro
Copy link
Author

Maybe you could do a workaround and bind to the exit vehicle event and turn off sneak mode after exiting a vehicle?

@Techjar
Copy link
Collaborator

Techjar commented May 30, 2021

I don't want to change the vanilla behavior for a stupid toggle. I'm more inclined to just remove the toggle instead. Players might be used to and expect to be sneaking after they exit a vehicle, I dunno.

@Techjar
Copy link
Collaborator

Techjar commented May 30, 2021

What I could possibly do is remove the toggle from the SteamVR bindings and make it an in-game option instead, so that it can apply only to actually sneaking, and not exiting vehicles, without completely changing the sneak-on-exit-vehicle behavior.

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

No branches or pull requests

2 participants