rhusics
rhusics copied to clipboard
Implement joints and constraints.
Every great physics engine needs a robust and stable constraints system with a corresponding solver implementation. Possible joints and constraint types to support include:
- Point
- Hinge
- Sliding
- 6DoF
With a generic solver implementation like that mentioned in #40, it should be possible to add this functionality fairly easily. How these are represented in the ECS is a bigger challenge/architectural decision that I wanted to open for discussion.
I was considering just having some kind of resource which holds all constraints. Possibly sorted by island.