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

Fix physics 2D/3D contact points rendering #55486

Merged
merged 1 commit into from
Nov 30, 2021

Conversation

pouleyKetchoupp
Copy link
Contributor

Physics internal process was removed by mistake, it's needed for contact points to be updated each frame.

Fixes the 4.x specific part of #53486 (contact points not rendering at all in 2D).
Fixes a part of #45862 (contact points not rendering at all in 3D).

Fixed some multimesh parameters to allow 3D contact points to be drawn, although it's still not working well in 3D because of an issue with multimesh rendering. Only some of the visible instances are drawn, and some of them keep being drawn when the number of visible instances drops to 0 instead of hiding them all.

Current state in 3D:
contact_points_3d
Not all contact points appear, and they don't disappear as they should at the end.

Physics internal process was removed by mistake, it's needed for contact
points to be updated each frame.

Fixed some multimesh parameters to allow 3D contact points to be drawn,
although it's still not working well in 3D as only some of the contact
points are drawn, and some of them keep being drawn when the number
of visible instances drops to 0 instead of hiding them all.
@akien-mga akien-mga merged commit e223a9c into godotengine:master Nov 30, 2021
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants