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

Ensure SoftBody3D does not use compressed mesh format. #84165

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

clayjohn
Copy link
Member

Fixes: #84094

When using the compressed mesh format (default for imported meshes when possible) the SoftBody3D ended up still updating its vertex attributes as if the attributes were uncompressed leading to the mesh containing bogus data.

The solution is to force it to use an uncompressed format since we are creating a new ArrayMesh internally anyway. There is no need to copy the compression flag.

@akien-mga akien-mga merged commit 5eb5a99 into godotengine:master Oct 30, 2023
16 checks passed
@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.

Softbody doesn't work with custom mesh (4.2 beta)
3 participants