Skip to content

Conversation

@exoexo-dev
Copy link
Contributor

Objective

Allow to set ignored collisions per entity.

Solution

Added an IgnoredCollisions component which is checked in the broad phase to filter out ignored collisions before any detection checks.


Changelog

Added

Added an IgnoredCollisions component which can be added to entities with a Collider to configure a set of entities with which there will be no collision detection with the owning entity.

@exoexo-dev
Copy link
Contributor Author

exoexo-dev commented May 18, 2024

Looks like something is still missing here - when the entities with ignored collisions are overlapping on spawn they still "explode"

Nvm, it was something else (I was using a joint at a different local anchor from the starting position)

@exoexo-dev exoexo-dev marked this pull request as draft May 18, 2024 12:35
@exoexo-dev exoexo-dev marked this pull request as ready for review May 18, 2024 12:41
@Jondolf Jondolf added C-Feature A new feature, making something new possible A-Collision Relates to the broad phase, narrow phase, colliders, or other collision functionality labels Jul 19, 2024
@exoexo-dev exoexo-dev force-pushed the ignore-collisions branch 2 times, most recently from 3fd6b17 to f9287f7 Compare August 28, 2024 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Collision Relates to the broad phase, narrow phase, colliders, or other collision functionality C-Feature A new feature, making something new possible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants