decentraland / decentraland/sdk7-utils
Undesired result of utils.getWorldPosition(engine.PlayerEntity);
- 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
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