Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Player pitch when teleporting not working. #1997

Open
undrfined opened this issue Sep 29, 2016 · 3 comments
Open

Player pitch when teleporting not working. #1997

undrfined opened this issue Sep 29, 2016 · 3 comments

Comments

@undrfined
Copy link

undrfined commented Sep 29, 2016

Issue description

When i trying to teleport player using Player::teleport method with pitch and yaw pitch always will be set to 0.
UPD: MovePlayerPacket::MODE_RESET set pitch to 0 when MovePlayerPacket::MODE_NORMAL not. Looks like client-side bug.

Steps to reproduce the issue

Just use this code:

$player->teleport(new Vector3(128, 69, 128), $player->yaw, 45);

OS and versions

  • Genisys: tested on a85f878 and dea6ecc
  • PHP: 7.0.4
  • Server OS: Windows 7
  • Game version: tested on v0.15.4 and v0.15.9

Crashdump, backtrace, memory dumps, plugins list or other files

@dktapps
Copy link
Contributor

dktapps commented Sep 29, 2016

Might be fixed in 0.16, will investigate.

@DubaiGamerXD
Copy link

Fixed?

@dktapps
Copy link
Contributor

dktapps commented Nov 10, 2016

reproduced... seems to be a core issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants