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 player direction when teleported #59

Merged
merged 1 commit into from
Jan 21, 2024
Merged

Conversation

Deewarz
Copy link
Contributor

@Deewarz Deewarz commented Jan 21, 2024

Fix #45

I went for the solution of using rotation quaternion to calculate the direction.

This will do the job until we find a way to preload the world.

Also I fixed the values ​​for the positions in the debug UIs to cover the entire map.

@Deewarz Deewarz self-assigned this Jan 21, 2024
@Deewarz Deewarz requested a review from zpl-zak January 21, 2024 14:48
@Deewarz Deewarz mentioned this pull request Jan 21, 2024
1 task
@Deewarz Deewarz merged commit 0a39e0f into master Jan 21, 2024
@Deewarz Deewarz deleted the fix-teleport-player branch January 21, 2024 16:57
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 this pull request may close these issues.

SDK::GetPlayerTeleportModule()->TeleportPlayer fails to teleport local player
2 participants