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

Unexported mesh collider #58

Open
mydiscogr opened this issue Jul 1, 2012 · 1 comment
Open

Unexported mesh collider #58

mydiscogr opened this issue Jul 1, 2012 · 1 comment

Comments

@mydiscogr
Copy link

hi, I've imported a 3d object via fbx, then I generated collision map, in unity all works fine, but when I export scene to xna "Unesported Meshe collider" appears you know why?

@fehaar
Copy link
Owner

fehaar commented Jul 2, 2012

Yes. It is because of FFWDs 2D physics system. Per default Mesh
colliders are not supported - so they are not exported. If you do make
a mesh collider that is in 2D and you want it exported, you can use the
included XNAMeshExporter script and just put it on the object you want
to export and it will be exported and added in the XNA physics.

There is also an experimental XNAPolygonCollider script that you can
use to define polygons that will be exported to XNA as colliders. The
editor functionality of the script is a bit buggy, but the exporting
should work fine. So you should be able to fix the editor behaviour and
have a usable script that is easier than making real meshes.

Thomas Gravgaard
Senior Software Developer
Press Play ApS
thomas@pressplay.dk
+45 26 74 26 74

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

No branches or pull requests

2 participants