Skip to content

fix: Fix users comms reported rotation#864

Merged
sandrade-dcl merged 1 commit intomasterfrom
fix/Fix-users-comms-reported-rotation
Jul 28, 2021
Merged

fix: Fix users comms reported rotation#864
sandrade-dcl merged 1 commit intomasterfrom
fix/Fix-users-comms-reported-rotation

Conversation

@sandrade-dcl
Copy link
Copy Markdown
Contributor

@sandrade-dcl sandrade-dcl commented Jul 28, 2021

What does this PR change?

Fix #476

Through comms we always report the CAMERA rotation but we should be reporting the CHARACTER rotation, otherwise when players are using the third person camera, they think the rest of the users see them in the direction they point their avatar but they actually see the rotation of the camera...

How to test the changes?

  1. Go to: https://play.decentraland.zone/index.html?renderer=urn:decentraland:off-chain:renderer-artifacts:fix/Fix-users-comms-reported-rotation (You have to open the app in 2 browsers with different users)
  2. From one of the browsers, look to different places with your avatar in both modes 1st and 3rd person camera mode.
  3. Notice from the other browser that your avatar is looking always to the correct place depending on his body forward and not on the camera.

Our Code Review Standards

https://github.com/decentraland/unity-renderer/blob/master/docs/code-review-standards.md

@github-actions
Copy link
Copy Markdown
Contributor

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.

Fix users comms reported rotation

3 participants