There is no way to revert fixed rotation
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 40.3k
- Forks
- 7.2k
- PR merge metrics
- No merged PRs in 30d
Description
Version
- Phaser Version: 3.88.2
- Operating system: Darwin
- Browser: Electron (Chromium)
Description
Using the matter objects. When we set setFixedRotation() there is no option to take back and allow rotate again.
Also there is no option to set inertia manually either from body create options or setInertia() etc
Those are simple matter methods. But seems like missing
Can you guys help me to disable fixed rotation? I will swith back and forth with that
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
Start by tracing the Matter body APIs named in the issue: setFixedRotation(), inertia, and setInertia(). Check how body creation options and the existing fixed-rotation behavior are exposed. Done means rotation can be disabled and re-enabled, and inertia can be configured through the requested API paths, with relevant behavior verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100