Add an optional up arg to Transform.look_at
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 27
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
#45 added Entity.look_at which currently always assumes that the look-at rotation should align the object's left direction with the world`s horizontal plane.
This might be helpful: https://stackoverflow.com/questions/8942950/how-do-i-find-the-orthogonal-projection-of-a-point-onto-a-plane
Contributor guide
No contributing guide indexed for this repository
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 Transform.look_at implementation and the Entity.look_at work from issue #45, then review the linked orthogonal-projection reference. Define how an optional up direction changes the rotation while preserving the current behavior when omitted, and verify both paths in the existing test or example entry points, if present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics, game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100