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

Fix pitch computing before moving to safe spot #1244

Merged
merged 1 commit into from
Sep 20, 2023
Merged

Conversation

Pablete1234
Copy link
Member

Currently a spawn point is found, then pitch & yaw are decided, and then the point is moved up/down to be on a safe spot (ontop of a block, not mid-air or in the ground).

Issue is pitch may be calculated in a point very high up (looking down) then the point is corrected to the ground, and pitch keeps being facing down.

With the change, point is moved first, then pitch/yaw is calculated after

@Electroid Electroid merged commit 0dd0c80 into dev Sep 20, 2023
2 checks passed
@Electroid Electroid deleted the fix-angle-pitch branch September 20, 2023 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants