decentraland / decentraland/sdk7-utils

Undesired result of utils.getWorldPosition(engine.PlayerEntity);

Open
#19 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5
Forks
5
PR merge metrics
No merged PRs in 30d

Description

I have my scene doing local development on parcel `47,-46`
The result of utils.getWorldPosition(engine.PlayerEntity); is
```
x:1.7989501953125
y:0.07999998331069946
z: 5.03515625
```
which does not make sense.
not sure what should be the result of utils.getPlayerPosition() but the result is the same.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the local scene on parcel 47,-46 and inspect the outputs of utils.getWorldPosition(engine.PlayerEntity) and utils.getPlayerPosition(). Compare those values with the documented coordinate expectations for the PlayerEntity and determine what result should be considered correct; the issue is complete when the discrepancy is explained and the relevant position behavior is corrected or documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.