Skip to content

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

Draft
Noahnoah55 wants to merge 4 commits intopokepetter:masterfrom
Noahnoah55:master
Draft

Fixes MeshColliders for .glb and .bam imported meshes#656
Noahnoah55 wants to merge 4 commits intopokepetter: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.

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.

1 participant