dart icon indicating copy to clipboard operation
dart copied to clipboard

Proposal: CollisionObject pairwise contact structure

Open jslee02 opened this issue 8 years ago • 1 comments

This is a very rough idea based on offline talk with @mkoval, so I'm very open to hearing any idea to make the idea more concrete.

The current contact structure Contact is created per contact. This structure is quite basic, but it would be useful to have a contact structure per CollisionObject pair.

First, the contact points are returned from the collision detector per collision object pairs anyways. So it wouldn't require additional work to collect the contact points per collision object pair.

Second, it would require less effort to collect contacts for a specific collision object. In the current API, we should search all the Contacts anyways, but with the new Contact we would have less number of Contacts to search for the same result.

Third, it would make easier to implement a collision option like maxNumContactPairs.

Note that this is not for DART 6.0.

jslee02 avatar May 05 '16 22:05 jslee02

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 13 '18 18:02 stale[bot]