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

Allow X Rotation to be Set by /tp (and API Call) #257

Open
hammy275 opened this issue Feb 25, 2024 · 0 comments
Open

Allow X Rotation to be Set by /tp (and API Call) #257

hammy275 opened this issue Feb 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@hammy275
Copy link
Contributor

At the moment, one can't set the rotation of the player, as calls to the player's setter functions are effectively useless as the data it sets is overwritten by rotation values from the HMD.

In most cases, this makes sense to prevent disorienting the player. However, for something like /tp, a rotation value can be explicitly specified, which makes more sense to adjust the player for. Additionally, it would be useful to expose this function to mod devs (probably as part of or an extension to #255) , so mod devs that want to explicitly rotate a VR player can do so.

Note that none of these should allow affecting the y rotation, as then we could desync the player's vertical head rotation from where their head physically is vertically, which would be bad.

@fayer3 fayer3 added the enhancement New feature or request label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants