Skip to content

Fixes MeshColliders for .glb and .bam imported meshes#656

Draft
Noahnoah55 wants to merge 4 commits into
pokepetter:masterfrom
Noahnoah55:master
Draft

Fixes MeshColliders for .glb and .bam imported meshes#656
Noahnoah55 wants to merge 4 commits into
pokepetter:masterfrom
Noahnoah55:master

Conversation

@Noahnoah55

Copy link
Copy Markdown

When importing .glb and .bam models and creating a MeshCollider from them, the resulting collider is rotated 90 degrees due to the difference between Ursina and Panda3D's coordinate systems.

I added an extra step in the generation of a MeshCollider from a NodePath to correct for this difference.

@Noahnoah55 Noahnoah55 marked this pull request as draft January 28, 2024 15:54
@Noahnoah55

Copy link
Copy Markdown
Author

Uuuuuh this might be more complicated than I thought. Merged recent commits and updated my game project to see the collision meshes flipped an entirely different way.

@ShivamKR12

Copy link
Copy Markdown

So it seems from the last message of the author of this PR, that the fixes that he was trying to make, to fix the mesh collider's rotation issue, either didn't worked as intended or was too hard to fix, so he gave up. @pokepetter Best to close this PR as well, since no future work in going to happen on this.

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