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

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

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Noahnoah55
Copy link

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
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