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

Collision exclusion doesn't work when bodies are already colliding #50527

Open
Tracked by #45333
QbieShay opened this issue Jul 16, 2021 · 1 comment
Open
Tracked by #45333

Collision exclusion doesn't work when bodies are already colliding #50527

QbieShay opened this issue Jul 16, 2021 · 1 comment

Comments

@QbieShay
Copy link
Contributor

Godot version

v4.0.dev.custom_build [60add98] - master branch July 16 2021

System information

Linux Arch, Radeon RX 590

Issue description

Collision exception doesn't work if the bodies are child of one another.

Steps to reproduce

Open mrp, launch the main scene.

Minimal reproduction project

Repro.zip

@pouleyKetchoupp
Copy link
Contributor

It doesn't seem the issue is due to one being a child of the other one, but I can confirm there's an issue when setting a collision exception after the bodies already collide, because rigid bodies that are already sleeping don't get updated.

Note: In the repro project, the body path used for setting the exception is not correct, but after fixing it the exceptions still don't work when pressing the key, although they do when set in _ready() instead.

@pouleyKetchoupp pouleyKetchoupp changed the title Collision exclusion doesn't work when the rigidbody is a child of the character body Collision exclusion doesn't work when bodies are already colliding Jul 19, 2021
@YuriSizov YuriSizov modified the milestones: 4.0, 4.1 Feb 27, 2023
@YuriSizov YuriSizov modified the milestones: 4.1, 4.2 Jun 22, 2023
@YuriSizov YuriSizov modified the milestones: 4.2, 4.x Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants