rustgd / rhusics

A cgmath physics library that can be used with Specs
https://docs.rs/rhusics/
Apache License 2.0
106 stars 10 forks source link

Implement joints and constraints. #41

Open dkushner opened 6 years ago

dkushner commented 6 years ago

Every great physics engine needs a robust and stable constraints system with a corresponding solver implementation. Possible joints and constraint types to support include:

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.

Rhuagh commented 6 years ago

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