playcanvas / playcanvas/engine
Add 'Contact Offset' to allow for two rigidbodies to be placed next to each other without a bump
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 16.8k
- Forks
- 2k
- Avg merge
- 4h 32m
- Merged PRs (30d)
- 222
Description
Thread: https://forum.playcanvas.com/t/no-seamless-collider/14252/3
Test project: https://playcanvas.com/project/708558/overview/contact-offset-request
Use arrow keys to roll down the path, note that the ball 'bounces'.
Unity has Contact Offset property to get around this: https://docs.unity3d.com/ScriptReference/Collider-contactOffset.html
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 with the linked test project and reproduce the ball's bounce by using the arrow keys, then read the linked forum discussion and Unity Contact Offset reference for the intended behavior. Done means rigidbodies can be placed next to each other without the reported bump or bounce, with the requested Contact Offset behavior available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100