You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: