playcanvas / playcanvas/engine
Feature request: local position/rotation to a reference entity
Open
@willeastcott is already working on this.
Since Jun 15, 2026.
enhancement
- Dominant language
- JavaScript
- Stars
- 16.8k
- Forks
- 2k
- Avg merge
- 4h 32m
- Merged PRs (30d)
- 222
Description
This is a feature request to get local position/rotation of an entity in another entity's local frame. Something like:
entity.getLocalPosition(referenceEntity /* optional */, resultVec3 /* optional */)
entity.getLocalRotation(referenceEntity /* optional */, resultQuat /* optional */)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.