Skip to content

Rework contact APIs - #144

Open
amacati wants to merge 2 commits into
mainfrom
feat.collision
Open

amacati wants to merge 2 commits into
mainfrom
feat.collision

Conversation

@amacati

@amacati amacati commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator

The contacts function now always emits an (n_worlds, n_drones) boolean array. If users want to exclude collisions, they can build a new contact function that masks out specific pairs or whole geometries.

For fine-grained access to what exactly collided with the drone, you either need to create a special mask (you can build multiple collision functions with different ignores and keep them around), or use the underlying APIs directly.
Closes #124.

@amacati
amacati requested a review from ratheron as a code owner October 23, 2026 13:41
@amacati amacati added the enhancement New feature or request label Oct 23, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Revise collision implementation

1 participant