Skip to content

Fix bounds calculation for skinned meshes#780

Open
art0007i wants to merge 1 commit intoBasisVR:developerfrom
art0007i:fix-smr-bounds
Open

Fix bounds calculation for skinned meshes#780
art0007i wants to merge 1 commit intoBasisVR:developerfrom
art0007i:fix-smr-bounds

Conversation

@art0007i
Copy link
Copy Markdown

resolves #774

basically the old approach assumes that smr.localBounds is local to the transform that the smr is attached to, but in reality it's local to smr.rootBone. anyway in this PR I decided to just transform the global bounds directly into parent space, this way it's harder to make such mistake, since unity gives you the correct global bounds.

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.

bounds calculation when building bee file counts scaled skinned mesh renderers incorrectly

1 participant