Skip to content

bugfix: missing bvh.scale() in voxel collider#419

Merged
sebcrozet merged 1 commit into
dimforge:masterfrom
akriegman:master
May 28, 2026
Merged

bugfix: missing bvh.scale() in voxel collider#419
sebcrozet merged 1 commit into
dimforge:masterfrom
akriegman:master

Conversation

@akriegman
Copy link
Copy Markdown
Contributor

I was getting some weird behavior in Avian3d when I had a voxel collider on an entity with a transform.scale other than 1. Adding this line fixed the problem. voxel_edition.rs has the similar function set_voxel_size which also calls self.chunk_bvh.scale(...), so it seems like this change is in line with the original intent, and it was probably just an oversight that this line is missing.

@sebcrozet sebcrozet merged commit e5e664f into dimforge:master May 28, 2026
8 checks passed
@sebcrozet
Copy link
Copy Markdown
Member

Thanks!

@sebcrozet sebcrozet mentioned this pull request May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants