dimforge / dimforge/ncollide

Extensible Shape dispatch.

Open
#303 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
926
Forks
104
PR merge metrics
No merged PRs in 30d

Description

Presently, supporting a new shape requires defining a new `ContactDispatcher`, which is boilerplate-heavy, awkward to compose, and does not account for CCD or high-level query functions. This could be improved by relying something like on one or more dynamic containers that map `(TypeId, TypeId) -> T` for various query functions `T`, and which can easily be mutated by the user to add new cases. However, implementation of some queries in terms of abstract interfaces like `&dyn SupportMap` complicates this as the desired algorithm is associated with an unbounded set of concrete `TypeId`s.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.