playcanvas / playcanvas/engine
Rectangle - with position, orientation and size that can be intersected with Ray and other Shapes.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 16.8k
- Forks
- 2k
- Avg merge
- 4h 32m
- Merged PRs (30d)
- 222
Description
Like with BoundingBox and few other shapes, it would be good to have a rectangle, that is much simpler shape than box, and would be useful in many cases.
It would have position, rotation and size (not halfExtents please).
And would have functionality to check if it intersects with ray or other shapes.
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 reviewing the existing BoundingBox and other shape implementations in the engine, then determine where a rectangle with position, rotation, and size belongs. Define the required ray and shape intersection behavior and consider the existing APIs as the reference for deciding when the feature is complete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100