Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include entity Name in logged warning for overlapping colliders #227

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

mattdm
Copy link
Contributor

@mattdm mattdm commented Nov 6, 2023

If a Name component exists, of course.

Also logs the starting position of colliding items at debug level.

Objective

Makes it easier to identify which entities may be spawned too close.

Solution

Added Option<Name> to the query in penetration_constraints(), and use that in the logged message.

If a Name component exists, of course.

Also logs the starting position of colliding items at debug level.
@Jondolf Jondolf added C-Enhancement New feature or request A-Debug-Rendering Relates to the debug plugin or any other useful debugging features labels Nov 6, 2023
@Jondolf Jondolf merged commit 038688c into Jondolf:main Nov 6, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Debug-Rendering Relates to the debug plugin or any other useful debugging features C-Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants