rhusics icon indicating copy to clipboard operation
rhusics copied to clipboard

Implement joints and constraints.

Open dkushner opened this issue 7 years ago • 1 comments

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.

dkushner avatar Dec 17 '17 00:12 dkushner

I was considering just having some kind of resource which holds all constraints. Possibly sorted by island.

Rhuagh avatar Dec 17 '17 10:12 Rhuagh