decentraland / decentraland/bevy-explorer

Pointer events using camera distance instead of player distance in UI scene

Open
#878 0 comments 0 reactions 1 assignee Claimed by @pabloes View on GitHub
bug
Dominant language
Rust
Stars
27
Forks
20
Avg merge
1d 30m
Merged PRs (30d)
78

Description

## Description

The UI scene is using camera distance for pointer events instead of player distance.

## Context

From Gon's report: "the pointer events is taking the camera distance instead of the player"

Lucas noted that PointerEvent has 2 distances (one from camera, one from player), but in this case the UI scene needs to be fixed to use the correct distance value.

## Expected Behavior

Pointer events in the UI scene should use player distance, not camera distance.

## Additional Context

Screenshot attached by Gon showing the issue.

---
Requested by rob via Slack

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.