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

SnapTurn in VR look strange #169

Open
hecodeit opened this issue Apr 19, 2023 · 2 comments
Open

SnapTurn in VR look strange #169

hecodeit opened this issue Apr 19, 2023 · 2 comments

Comments

@hecodeit
Copy link

Testing spacesvr.io with Quest 2.

After right hand SnapTurn, left hand movment don't work correct?

@hecodeit
Copy link
Author

Ok, I have fixed the problem at file VRControllerMovement.tsx

Where left hand gamepad change the position of player

direction.current.x = x;
direction.current.z = z;

// add this line
direction.current.applyEuler(player.rotation)

@benjaminha14
Copy link
Collaborator

thank you, we will look into this and review

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

No branches or pull requests

2 participants