Yaw / Pitch isn't accurate
MissingReports opened this issue ยท 1 comments
Skript/Server Version
[06:12:22 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[06:12:22 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[06:12:22 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[06:12:22 INFO]: [Skript] Server Version: git-Paper-483 (MC: 1.20.4)
[06:12:22 INFO]: [Skript] Skript Version: 2.8.7 (skriptlang-github)
[06:12:22 INFO]: [Skript] Installed Skript Addons:
[06:12:22 INFO]: [Skript] - skript-placeholders v1.6.0 (https://github.com/APickledWalrus/skript-placeholders)
[06:12:22 INFO]: [Skript] - skript-gui v1.3 (https://github.com/APickledWalrus/skript-gui)
[06:12:22 INFO]: [Skript] - skript-particle v1.3.1 (https://github.com/sovdeeth/skript-particle)
[06:12:22 INFO]: [Skript] - skript-reflect v2.4 (https://github.com/SkriptLang/skript-reflect)
[06:12:22 INFO]: [Skript] - SkriptPlus v1.0
[06:12:22 INFO]: [Skript] - SkBee v3.5.7 (https://github.com/ShaneBeee/SkBee)
[06:12:22 INFO]: [Skript] - TurboEnchants v1.0
[06:12:22 INFO]: [Skript] Installed dependencies:
[06:12:22 INFO]: [Skript] - Vault v1.7.3-b131
[06:12:22 INFO]: [Skript] - WorldGuard v7.0.9+5934e49
Bug Description
The Yaw
and Pitch
expressions aren't that accurate, in some cases it even returns 360 which can't be true since yaw is -180 to 180
Using reflect, it shows the difference because the Yaw
expression and player.getYaw()
Expected Behavior
It's supposed to return what player.getYaw() returns
Steps to Reproduce
It just happens randomly to me where player.getYaw() and player's yaw aren't the same, however I managed to know one case for when this happens
Using player.setRotation(yaw, pitch) for quick rotating
Example:
player.setRotation(0, 0)
broadcast player's yaw
Errors or Screenshots
No response
Other
No response
Agreement
- I have read the guidelines above and affirm I am following them with this report.