Negative scale doesn't work since v0.8.0
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 17.6k
- Forks
- 4.4k
- PR merge metrics
- No merged PRs in 30d
Description
Description:
- v.0.8.0 - v1.2.0:
- Platform / Device: Glitch; Linux Manjaro
- Reproducible Code Snippet or URL:
<a-scene>
<a-entity camera look-controls wasd-controls scroll-controls position="0 0 3">
</a-entity>
<a-entity geometry="primitive: box; radius: 3"
material="color:#FF0099"
scale="-2 2 2">
<a-sphere color="#FF0000"
scale="0.2 0.2 0.2">
</a-sphere>
</a-entity><
</a-scene>
v0.7.0 gives the following result:

v1.2.0 gives the following result:

The documentation for v1.2.0 still says: "scaling factors can be negative, which results in a reflection."
It only worked when I dropped my version number to 0.7.0
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.
Research direction
Run the provided A-Frame HTML snippet on v0.7.0 and v1.2.0 to reproduce the differing negative-scale behavior. Read the v1.2.0 scale component documentation and compare the results; done means negative scaling again produces the documented reflection in the current version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- ar-vr-xr, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100