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

Rotation does not always rotate correctly #14

Open
Kesuaheli opened this issue Feb 9, 2024 · 1 comment · May be fixed by #15
Open

Rotation does not always rotate correctly #14

Kesuaheli opened this issue Feb 9, 2024 · 1 comment · May be fixed by #15

Comments

@Kesuaheli
Copy link

If you create a point on a block with a yaw of -170 (facing north, but 10 degrees to the east) and a second point with a yaw of 170 (facing north, but 10 degrees to the west), the player gets rotated all the way around (west->south->east) before reaching the desired rotation of 170.

The expected behavior would be to always rotate on the shortest path, which could sometimes mean to rotate through the ±180.0 degree.

@Kesuaheli
Copy link
Author

Kesuaheli commented Feb 9, 2024

#4 should fix it
#15 fixes it

@Wolf2323 Wolf2323 linked a pull request Apr 24, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant